12 buildPythonPackage rec {
14 # Switch to unstable which fixes an deprecation issue with newer numpy
15 # versions, should be included in versions > 3.0
16 # https://github.com/gtaylor/python-colormath/issues/104
17 version = "3.0.0-unstable-2021-04-17";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
24 repo = "python-colormath";
25 rev = "4a076831fd5136f685aa7143db81eba27b2cd19a";
26 hash = "sha256-eACVPIQFgiGiVmQ/PjUxP/UH/hBOsCywz5PlgpA4dk4=";
29 build-system = [ setuptools ];
36 nativeCheckInputs = [ pytestCheckHook ];
38 pythonImportsCheck = [ "colormath" ];
41 description = "Color math and conversion library";
42 homepage = "https://github.com/gtaylor/python-colormath";
43 changelog = "https://github.com/gtaylor/python-colormath/releases/tag/${version}";
44 license = licenses.bsd2;
45 maintainers = with maintainers; [ jonathanreeve ];