nixpkgs/pkgs/development/python-modules/psd-tools/default.nix

23 lines
502 B
Nix
Raw Normal View History

2017-09-01 10:29:59 +02:00
{ lib, buildPythonPackage, fetchPypi,
docopt, pillow
}:
buildPythonPackage rec {
pname = "psd-tools";
name = "${pname}-${version}";
version = "1.4";
meta = {
description = "Python package for reading Adobe Photoshop PSD files";
homepage = https://github.com/kmike/psd-tools;
license = lib.licenses.mit;
};
src = fetchPypi {
inherit pname version;
sha256 = "0g2vss5hwlk96w0yj42n7ia56mly51n92f2rlbrifhn8hfbxd38s";
};
propagatedBuildInputs = [ docopt pillow ];
}