Skip to content

Commit 050e1f3

Browse files
authored
Merge pull request #250252 from trofi/python3Packages.pillow-zlib-1.3.fix
python3Packages.pillow: pull zlib-1.3 fix pending upstream inclusion
2 parents 602e1b2 + 2f416c0 commit 050e1f3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkgs/development/python-modules/pillow/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ import ./generic.nix (rec {
2424
hash = "sha256-nIK1s+BDx68NlXktDSDM9o9hof7Gs1MOcYtohCJyc5Y=";
2525
};
2626

27+
patches = [
28+
# Pull in zlib-1.3 fix pending upstream inclusion
29+
# https://github.com/python-pillow/Pillow/pull/7344
30+
(fetchpatch {
31+
name = "zlib-1.3.patch";
32+
url = "https://github.com/python-pillow/Pillow/commit/9ef7cb39def45b0fe1cdf4828ca20838a1fc39d1.patch";
33+
hash = "sha256-N7V6Xz+SBHSm3YIgmbty7zbqkv8MzpLMhU4Xxerhx8w=";
34+
})
35+
];
36+
2737
passthru.tests = {
2838
inherit imageio matplotlib pilkit pydicom reportlab;
2939
};

0 commit comments

Comments
 (0)