27 lines
648 B
Nix
27 lines
648 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
|
|
(python310Packages.opencv4.override {
|
|
enableGtk2 = true;
|
|
gtk2 = pkgs.gtk2;
|
|
})
|
|
blender
|
|
];
|
|
};
|
|
});
|
|
}
|