goiing somewhere

This commit is contained in:
didier committed 2024-10-14 04:46:30 -04:00
1 parent 1eb6fa36a3
commit 543d975c9a
3 files changed
+12 -5

No files matched your search

+1
View File
@@ -0,0 +1 @@
use flake
+1
View File
@@ -1 +1,2 @@
result result
.direnv
+10 -5
View File
@@ -11,8 +11,12 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
pythonPackages = pkgs.python312Packages; pythonPackages = pkgs.python312Packages;
python-path = pkgs.python3Packages.buildPythonPackage rec { python-path = pkgs.python3Packages.buildPythonPackage rec {
pname = "path"; # pname = "opencv-python";
# version = "4.10.0.84";
version = "16.14.0"; version = "16.14.0";
pname = "path";
pyproject = true; pyproject = true;
# disabled = pythonOlder "3.7"; # disabled = pythonOlder "3.7";
@@ -20,6 +24,7 @@
src = pkgs.python3Packages.fetchPypi { src = pkgs.python3Packages.fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-26qn79RgL9a6jYKJDceCPWnl3nQKboQtmRmw+q8rao4="; hash = "sha256-26qn79RgL9a6jYKJDceCPWnl3nQKboQtmRmw+q8rao4=";
# hash = "";
}; };
nativeBuildInputs = nativeBuildInputs =
@@ -46,10 +51,10 @@
}; };
}; };
env = pkgs.python312.withPackages (ps: [ python-path ]);
in { in {
packages = { packages = { default = pkgs.python312Packages.path; };
default = pkgs.python312Packages.path; devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ env ]; };
python-path = python-path;
};
}); });
} }