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-07-31 09:56:43 +01:00
|
|
|
version = "1.9.15";
|
2017-09-01 09:29:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:43 +01:00
|
|
|
sha256 = "23b545d91c784fcaf27fbf4c69abe21ac1ea10d25b5b8c61dcd8f0e03ccff786";
|
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
|
|
|
}
|