depot/third_party/nixpkgs/pkgs/development/python-modules/psd-tools/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

27 lines
600 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, docopt
, pillow
, enum34
}:
buildPythonPackage rec {
pname = "psd-tools";
version = "1.9.18";
src = fetchPypi {
inherit pname version;
sha256 = "d7e510790512f0bb8150c508531c8681c3d9d0ea63b3ba9b11bbf0952cbd69a8";
};
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
};
}