nixpkgs/pkgs/development/python-modules/psd-tools/default.nix
2020-08-04 21:54:51 +02:00

28 lines
600 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, docopt
, pillow
, enum34
}:
buildPythonPackage rec {
pname = "psd-tools";
version = "1.9.15";
src = fetchPypi {
inherit pname version;
sha256 = "23b545d91c784fcaf27fbf4c69abe21ac1ea10d25b5b8c61dcd8f0e03ccff786";
};
propagatedBuildInputs = [
docopt
pillow
] ++ lib.optionals isPy27 [ enum34 ];
meta = {
description = "Python package for reading Adobe Photoshop PSD files";
homepage = "https://github.com/kmike/psd-tools";
license = lib.licenses.mit;
broken = true; # missing packbits from nixpkgs
};
}