blaise 0.1.3

A fast, local-first engine for GTFS transit data. Handles routing, fuzzy search, and geospatial queries without relying on external APIs.
Documentation

{
  description = "Blaise Devshell";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  };

  outputs = { self, nixpkgs, ... }:
    let
      # This helper allows the shell to work on any system (Intel/ARM Linux/Mac)
      supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
      forEachSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
        pkgs = import nixpkgs { inherit system; };
      });
    in
    {
      devShells = forEachSystem ({ pkgs }: {
        default = pkgs.mkShell {
          # Tools go here
          nativeBuildInputs = [
            pkgs.cargo
            pkgs.rustc
            pkgs.pkg-config
            pkgs.rust-analyzer
            pkgs.clippy
            pkgs.rustfmt
            pkgs.taplo
            pkgs.nodePackages.vscode-json-languageserver
            pkgs.dockerfile-language-server
          ];

          # Libraries your project links to go here
          buildInputs = [
            pkgs.openssl
          ];

          # Nix automatically handles PKG_CONFIG_PATH when openssl is in buildInputs
          # and pkg-config is in nativeBuildInputs.
          shellHook = ''
            echo "🦀 Welcome to the Blaise development shell!"
          '';
        };
      });
    };
}