diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-12-21 10:56:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 10:56:14 +0100 |
commit | d5cde0e8dd86f1d8aa51db061b44f39574ae94e5 (patch) | |
tree | b4d2c5b941b22853d3252ed3cadf9b09c6560168 | |
parent | d72e3be1b2824938574bc0f1fc093c1aa1499483 (diff) | |
parent | 25d1a883ef0a56ed258d8ebd6dc595a63454fbf0 (diff) |
Merge pull request #275533 from r-ryantm/auto-update/python310Packages.grad-cam
python310Packages.grad-cam: 1.4.8 -> 1.5.0
-rw-r--r-- | pkgs/development/python-modules/grad-cam/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/grad-cam/default.nix b/pkgs/development/python-modules/grad-cam/default.nix index 8636a71ecdcea..42d65ae433b7b 100644 --- a/pkgs/development/python-modules/grad-cam/default.nix +++ b/pkgs/development/python-modules/grad-cam/default.nix @@ -7,6 +7,7 @@ , opencv4 , pillow , scikit-learn +, setuptools , torch , torchvision , ttach @@ -15,19 +16,25 @@ buildPythonPackage rec { pname = "grad-cam"; - version = "1.4.8"; - disabled = pythonOlder "3.6"; - format = "pyproject"; + version = "1.5.0"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-BNcwDaEEmRsEoJ4nvvGfjZ9LdG0eRqZCFuY5/Gmp5N4="; + hash = "sha256-aw7Z/6/AMKH2PVBcOr8HxsmRDa6c3v8Xd4xa8HTiFGA="; }; postPatch = '' - substituteInPlace requirements.txt --replace "opencv-python" "opencv" + substituteInPlace requirements.txt\ + --replace "opencv-python" "opencv" ''; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ matplotlib numpy |