16 lines
470 B
Nix
16 lines
470 B
Nix
{stdenv, python27Packages, pkg-config, zlib, libjpeg, olefile}: python27Packages.buildPythonPackage rec {
|
|
pname = "Pillow";
|
|
version = "4.2.1";
|
|
format = "setuptools";
|
|
|
|
src = python27Packages.fetchPypi {
|
|
inherit pname version;
|
|
extension = "tar.gz";
|
|
hash = "sha256-xyT2WHDlRTFvnoLkxtYIq1qp3YLVGF5bLnIRk3h0AHM=";
|
|
};
|
|
|
|
nativeBuildInputs = [pkg-config];
|
|
buildInputs = [zlib libjpeg];
|
|
propagatedBuildInputs = [python27Packages.setuptools olefile];
|
|
}
|