python3Packages.colorzero: init at 2.0
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{ 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"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet another Python color library";
|
||||
homepage = "https://github.com/waveform80/colorzero";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -1894,6 +1894,8 @@ in {
|
||||
|
||||
colorthief = callPackage ../development/python-modules/colorthief { };
|
||||
|
||||
colorzero = callPackage ../development/python-modules/colorzero { };
|
||||
|
||||
colour = callPackage ../development/python-modules/colour { };
|
||||
|
||||
cometblue-lite = callPackage ../development/python-modules/cometblue-lite { };
|
||||
|
||||
Reference in New Issue
Block a user