diff --git a/pkgs/development/python-modules/psd-tools/default.nix b/pkgs/development/python-modules/psd-tools/default.nix new file mode 100644 index 000000000000..801936d906c8 --- /dev/null +++ b/pkgs/development/python-modules/psd-tools/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b1d3b2a01863..e0ed81a6cbdc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16499,6 +16499,8 @@ in { protobuf = pkgs.protobuf2_5; }; + psd-tools = callPackage ../development/python-modules/psd-tools { }; + psutil = buildPythonPackage rec { name = "psutil-${version}"; version = "4.3.0";