python3Packages.colorlover: modernize

This commit is contained in:
Harinn
2026-06-07 22:56:04 +07:00
parent dea3f0c984
commit 8998eaed90
@@ -5,14 +5,16 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "colorlover";
version = "0.3.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
sha256 = "b8fb7246ab46e1f5e6715649453c1762e245a515de5ff2d2b4aab7a6e67fa4e2";
inherit (finalAttrs) pname version;
hash = "sha256-uPtyRqtG4fXmcVZJRTwXYuJFpRXeX/LStKq3puZ/pOI=";
};
build-system = [ setuptools ];
@@ -20,10 +22,12 @@ buildPythonPackage rec {
# no tests included in distributed archive
doCheck = false;
pythonImportsCheck = [ "colorlover" ];
meta = {
homepage = "https://github.com/jackparmer/colorlover";
description = "Color scales in Python for humans";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})