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";
|
2019-12-19 19:31:18 +00:00
|
|
|
version = "1.8.34";
|
2017-09-01 09:29:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:18 +00:00
|
|
|
sha256 = "db471c867399f7a9cc31f9e83b1e6734411c44b26dcecaaefe04c1141f606707";
|
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";
|
|
|
|
homepage = https://github.com/kmike/psd-tools;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
broken = true; # missing packbits from nixpkgs
|
|
|
|
};
|
2017-09-01 09:29:59 +01:00
|
|
|
}
|