1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pkginfo, 6 pytestCheckHook, 7 pytest-cov-stub, 8}: 9 10buildPythonPackage rec { 11 pname = "colorzero"; 12 version = "2.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "waveform80"; 17 repo = "colorzero"; 18 tag = "release-${version}"; 19 hash = "sha256-0NoQsy86OHQNLZsTEuF5s2MlRUoacF28jNeHgFKAH14="; 20 }; 21 22 nativeBuildInputs = [ pkginfo ]; 23 24 pythonImportsCheck = [ "colorzero" ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 pytest-cov-stub 29 ]; 30 31 meta = with lib; { 32 description = "Yet another Python color library"; 33 homepage = "https://github.com/waveform80/colorzero"; 34 license = licenses.bsd3; 35 maintainers = with maintainers; [ hexa ]; 36 }; 37}