Skip to content

Commit

Permalink
python310Packages.pillow: 9.5.0 -> 10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jul 28, 2023
1 parent 52dc6bf commit bdf1a96
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pkgs/development/python-modules/pillow/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,17 @@

import ./generic.nix (rec {
pname = "pillow";
version = "9.5.0";
format = "setuptools";
version = "10.0.0";
format = "pyproject";

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";

src = fetchPypi {
pname = "Pillow";
inherit version;
hash = "sha256-v1SEedM2cm16Ds6252fhefveN4M65CeUYCYxoHDWMPE=";
hash = "sha256-nIK1s+BDx68NlXktDSDM9o9hof7Gs1MOcYtohCJyc5Y=";
};

patches = [
(fetchpatch {
# Fixed type handling for include and lib directories; Remove with 10.0.0
url = "https://github.com/python-pillow/Pillow/commit/0ec0a89ead648793812e11739e2a5d70738c6be5.patch";
hash = "sha256-m5R5fLflnbJXbRxFlTjT2X3nKdC05tippMoJUDsJmy0=";
})
];

passthru.tests = {
inherit imageio matplotlib pilkit pydicom reportlab;
};
Expand Down

1 comment on commit bdf1a96

@nixos-discourse
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/trying-to-override-python-package-and-getting-errors/37760/2

Please sign in to comment.