shell.nix: add python with all packages
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
]))
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user