Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
794 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, pkginfo, 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" "" '';
nativeBuildInputs = [ pkginfo ];
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 ]; };}