Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
776 B · 37 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchPypi, pytestCheckHook,}:
buildPythonPackage rec { pname = "colour"; version = "0.1.5"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-ryASD+/Sr+3osAH77y6p2nCtfUn6/bZIkCXa6HRcOu4="; };
patches = [ # https://github.com/vaab/colour/pull/66 (but does not merge cleanly) ./remove-unmaintained-d2to1.diff ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "--doctest-glob=\"*.rst\"" "--doctest-modules" ];
pythonImportsCheck = [ "colour" ];
meta = with lib; { description = "Converts and manipulates common color representation (RGB, HSV, web, ...)"; homepage = "https://github.com/vaab/colour"; license = licenses.bsd2; };}