30 lines
603 B
Nix
30 lines
603 B
Nix
{
|
|
description = "Python development shell for work- and research-related stuff.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
(python312.withPackages (
|
|
python-pkgs: with python-pkgs; [
|
|
numpy
|
|
setuptools
|
|
]
|
|
))
|
|
];
|
|
};
|
|
};
|
|
}
|