9 buildPythonPackage rec {
11 # Switch to unstable which fixes an deprecation issue with newer numpy
12 # versions, should be included in versions > 3.0
13 # https://github.com/gtaylor/python-colormath/issues/104
14 version = "unstable-2021-04-17";
16 src = fetchFromGitHub {
18 repo = "python-colormath";
19 rev = "4a076831fd5136f685aa7143db81eba27b2cd19a";
20 sha256 = "sha256-eACVPIQFgiGiVmQ/PjUxP/UH/hBOsCywz5PlgpA4dk4=";
23 propagatedBuildInputs = [ networkx numpy ];
25 checkInputs = [ nose ];
27 checkPhase = "nosetests";
29 pythonImportsCheck = [ "colormath" ];
32 description = "Color math and conversion library";
33 homepage = "https://github.com/gtaylor/python-colormath";
34 license = licenses.bsd2;
35 maintainers = with maintainers; [ jonathanreeve ];