pythonPackages.pillow: 8.2.0 -> 8.3.0
add support for defusedxml (cherry picked from commit e202771a892e8d2156bed2ec1c085dbeeda6faa1)
This commit is contained in:
parent
4cdb9a0cc3
commit
c40e9cc00a
@ -1,17 +1,17 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, fetchPypi, isPyPy, isPy3k
|
{ lib, stdenv, buildPythonPackage, fetchPypi, isPyPy, isPy3k
|
||||||
, olefile, freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11
|
, defusedxml, olefile, freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11
|
||||||
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook
|
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
import ./generic.nix (rec {
|
import ./generic.nix (rec {
|
||||||
pname = "Pillow";
|
pname = "Pillow";
|
||||||
version = "8.2.0";
|
version = "8.3.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1qf3bz1sfz58ff6hclg8phgqyy210x3aqdk5yzjr8m5vsw8ap1x7";
|
sha256 = "0ikwwh8lx08rag1yjkfhf33zlk67vas7l7kblkp6dqzk0vi0cdl0";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -31,7 +31,8 @@ buildPythonPackage rec {
|
|||||||
"test_custom_metadata"
|
"test_custom_metadata"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ olefile ];
|
propagatedBuildInputs = [ olefile ]
|
||||||
|
++ lib.optionals (lib.versionAtLeast version "8.2.0") [ defusedxml ];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook pyroma numpy ];
|
checkInputs = [ pytestCheckHook pyroma numpy ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user