30 lines
723 B
Nix
30 lines
723 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
|
|
nodejs
|
|
];
|
|
};
|
|
});
|
|
}
|