19 lines
466 B
Nix
19 lines
466 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
python313
|
|
ruff # lint + format
|
|
basedpyright # LSP / type checking
|
|
python313Packages.pytest
|
|
entr
|
|
];
|
|
};
|
|
};
|
|
}
|