shell.nix: add python with all packages

This commit is contained in:
2025-03-19 18:14:42 +01:00
parent 22a09b4177
commit b85a6535fe
2 changed files with 9 additions and 3 deletions

View File

@@ -42,7 +42,7 @@
devShells = forAllSystems (system: pkgs: { devShells = forAllSystems (system: pkgs: {
default = self.devShells.${system}.dibbler; default = self.devShells.${system}.dibbler;
dibbler = pkgs.callPackage ./nix/shell.nix { dibbler = pkgs.callPackage ./nix/shell.nix {
python3Packages = pkgs.python312Packages; python = pkgs.python312;
}; };
}); });

View File

@@ -1,12 +1,18 @@
{ {
mkShell, mkShell,
python3Packages, python,
ruff, ruff,
}: }:
mkShell { mkShell {
packages = [ packages = [
python3Packages.black
ruff ruff
(python.withPackages (ps: with ps; [
brother-ql
matplotlib
psycopg2
python-barcode
sqlalchemy
]))
]; ];
} }