Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
902 B · 53 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, pkginfo, sphinxHook, sphinx-rtd-theme, pytestCheckHook}:
buildPythonPackage rec { pname = "colorzero"; version = "2.0"; format = "setuptools";
src = fetchFromGitHub { owner = "waveform80"; repo = pname; rev = "refs/tags/release-${version}"; hash = "sha256-0NoQsy86OHQNLZsTEuF5s2MlRUoacF28jNeHgFKAH14="; };
postPatch = '' substituteInPlace setup.cfg \ --replace "--cov" "" '';
outputs = [ "out" "doc" ];
nativeBuildInputs = [ pkginfo sphinx-rtd-theme sphinxHook ];
pythonImportsCheck = [ "colorzero" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Yet another Python color library"; homepage = "https://github.com/waveform80/colorzero"; license = licenses.bsd3; maintainers = with maintainers; [ hexa ]; };}