02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
27 lines
587 B
Nix
27 lines
587 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, docopt
|
|
, pillow
|
|
, enum34
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "psd-tools";
|
|
version = "1.9.21";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-BlfJnC03W0BEOr2Nav0Tj0fzjwAVlTPjyN0KmxxQMVI=";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|