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