goiing somewhere
This commit is contained in:
1 parent
1eb6fa36a3
commit
543d975c9a
3 files changed
+12
-5
No files matched your search
@@ -11,8 +11,12 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
pythonPackages = pkgs.python312Packages;
|
||||
python-path = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "path";
|
||||
# pname = "opencv-python";
|
||||
# version = "4.10.0.84";
|
||||
|
||||
version = "16.14.0";
|
||||
pname = "path";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
# disabled = pythonOlder "3.7";
|
||||
@@ -20,6 +24,7 @@
|
||||
src = pkgs.python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-26qn79RgL9a6jYKJDceCPWnl3nQKboQtmRmw+q8rao4=";
|
||||
# hash = "";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
@@ -46,10 +51,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
env = pkgs.python312.withPackages (ps: [ python-path ]);
|
||||
|
||||
in {
|
||||
packages = {
|
||||
default = pkgs.python312Packages.path;
|
||||
python-path = python-path;
|
||||
};
|
||||
packages = { default = pkgs.python312Packages.path; };
|
||||
devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ env ]; };
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user