pythonPackages.pillow: 8.2.0 -> 8.3.0
add support for defusedxml
This commit is contained in:
parent
e04f827a74
commit
e202771a89
2 changed files with 5 additions and 4 deletions
|
@ -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…
Reference in a new issue