Skip to content

Commit

Permalink
Merge pull request #255858 from trofi/python3.pkgs.pillow-update
Browse files Browse the repository at this point in the history
python3.pkgs.pillow: 10.0.0 -> 10.0.1
  • Loading branch information
marsam committed Sep 21, 2023
2 parents e939ee5 + 78b49e4 commit 254937d
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions pkgs/development/python-modules/pillow/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchpatch
, isPyPy
, defusedxml, olefile, freetype, libjpeg, zlib, libtiff, libwebp, libxcrypt, tcl, lcms2, tk, libX11
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook, setuptools
Expand All @@ -13,27 +12,17 @@

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

disabled = pythonOlder "3.8";

src = fetchPypi {
pname = "Pillow";
inherit version;
hash = "sha256-nIK1s+BDx68NlXktDSDM9o9hof7Gs1MOcYtohCJyc5Y=";
hash = "sha256-1ylnsGvpMA/tXPvItbr87sSL983H2rZrHSVJA1KHGR0=";
};

patches = [
# Pull in zlib-1.3 fix pending upstream inclusion
# https://github.com/python-pillow/Pillow/pull/7344
(fetchpatch {
name = "zlib-1.3.patch";
url = "https://github.com/python-pillow/Pillow/commit/9ef7cb39def45b0fe1cdf4828ca20838a1fc39d1.patch";
hash = "sha256-N7V6Xz+SBHSm3YIgmbty7zbqkv8MzpLMhU4Xxerhx8w=";
})
];

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

0 comments on commit 254937d

Please sign in to comment.