blob: 330c3adba7a7c2abe5ccdce889682aea52684d1c (
plain)
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
47
48
49
50
51
|
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
setuptools,
numpy,
imageio,
docutils,
ddt,
matplotlib,
}:
let
pname = "color-matcher";
version = "0.6.0";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-e6igB4LD5eWTHdp7H7nFcqzoLeDGyXZUQyt8/gqnSEM=";
};
build-system = [ setuptools ];
dependencies = [
numpy
imageio
docutils
ddt
matplotlib
];
postPatch = ''
ln -s */requires.txt requirements.txt
'';
# Some tests are broken and many require internet access
doCheck = false;
meta = {
description = "Package enabling color transfer across images";
homepage = "https://github.com/hahnec/color-matcher";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ blenderfreaky ];
# requires py2app which is not packaged for darwin
broken = stdenv.hostPlatform.isDarwin;
};
}
|