AI-or-not/flake.nix

25 lines
593 B
Nix
Raw Permalink Normal View History

2023-01-27 16:54:59 +00:00
{
description = "Proj BE PI3D";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
2023-01-27 17:45:20 +00:00
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
2023-01-28 15:20:40 +00:00
tk
2023-01-27 17:45:20 +00:00
poetry
python3
python310Packages.numpy
python310Packages.datasets
2023-01-28 15:20:40 +00:00
python310Packages.matplotlib
2023-01-27 17:45:20 +00:00
];
};
2023-01-27 16:54:59 +00:00
});
}