blob: 96be2af48b14411f338b925179e86dde3bda17ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, docopt
, pillow
, enum34
, scikitimage
, aggdraw
, pytestCheckHook
, ipython
, cython
}:
buildPythonPackage rec {
pname = "psd-tools";
version = "1.9.23";
src = fetchFromGitHub {
owner = "psd-tools";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-pJUf5rE5QMnfNytU1P0Zbj1iztrK5xrX4CJ/WvIG8mY=";
};
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [
aggdraw
docopt
ipython
pillow
scikitimage
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "psd_tools" ];
meta = with lib; {
description = "Python package for reading Adobe Photoshop PSD files";
homepage = "https://github.com/kmike/psd-tools";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}
|