python: Pillow: 4.3.0 -> 5.0.0
This commit is contained in:
parent
881d6a9e64
commit
56b429c252
@ -1,14 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy,
|
||||
nose, olefile,
|
||||
freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11}:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy
|
||||
, olefile
|
||||
, freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11
|
||||
, pytestrunner
|
||||
, pytest
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "Pillow";
|
||||
version = "4.3.0";
|
||||
version = "5.0.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a97c715d44efd5b4aa8d739b8fad88b93ed79f1b33fc2822d5802043f3b1b527";
|
||||
sha256 = "12f29d6c23424f704c66b5b68c02fe0b571504459605cfe36ab8158359b0e1bb";
|
||||
};
|
||||
|
||||
doCheck = !stdenv.isDarwin && !isPyPy;
|
||||
@ -21,8 +24,10 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ olefile ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
|
||||
buildInputs = [
|
||||
freetype libjpeg zlib libtiff libwebp tcl nose lcms2 ]
|
||||
freetype libjpeg zlib libtiff libwebp tcl lcms2 ]
|
||||
++ stdenv.lib.optionals (isPyPy) [ tk libX11 ];
|
||||
|
||||
# NOTE: we use LCMS_ROOT as WEBP root since there is not other setting for webp.
|
||||
|
Loading…
Reference in New Issue
Block a user