projet-probleme-inverse-3D/flake.nix
2023-01-20 10:55:00 +01:00

29 lines
704 B
Nix

{
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 {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
poetry
python3
python310Packages.numpy
tk
python310Packages.matplotlib
(python310Packages.opencv4.override {
enableGtk2 = true;
gtk2 = pkgs.gtk2;
})
blender
];
};
});
}