python3Packages.colorspacious: modernize

This commit is contained in:
Harinn
2026-06-07 22:57:10 +07:00
parent d21f61bb8d
commit d3de44e62e
@@ -6,24 +6,28 @@
numpy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "colorspacious";
version = "1.1.2";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
sha256 = "065n24zbm9ymy2gvf03vx5cggk1258vcjdaw8jn9v26arpl7542y";
inherit (finalAttrs) pname version;
hash = "sha256-XpBy6M3KiJ2sRFw1yTYqIsz3WOl7ALef8NWnuj4Rthg=";
};
build-system = [ setuptools ];
dependencies = [ numpy ];
pythonImportsCheck = [ "colorspacious" ];
meta = {
homepage = "https://github.com/njsmith/colorspacious";
description = "Powerful, accurate, and easy-to-use Python library for doing colorspace conversions";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})