2019-12-24 09:46:14 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, docopt
|
|
|
|
, pillow
|
|
|
|
, enum34
|
2017-09-01 09:29:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "psd-tools";
|
2020-10-25 09:06:55 +00:00
|
|
|
version = "1.9.16";
|
2017-09-01 09:29:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:55 +00:00
|
|
|
sha256 = "dece6327b5aa03b53163c63e2bf90b4a7b0ff6872ef743adab140a59cb2318ff";
|
2017-09-01 09:29:59 +01:00
|
|
|
};
|
|
|
|
|
2019-12-24 09:46:14 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docopt
|
|
|
|
pillow
|
|
|
|
] ++ lib.optionals isPy27 [ enum34 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python package for reading Adobe Photoshop PSD files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kmike/psd-tools";
|
2019-12-24 09:46:14 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
broken = true; # missing packbits from nixpkgs
|
|
|
|
};
|
2017-09-01 09:29:59 +01:00
|
|
|
}
|