python312Packages.colormath2: init at 3.0.3

This is a fork of python312Packages.colormath2 that is unmaintained.
This commit is contained in:
Alexis Praga
2025-02-23 00:12:30 +01:00
parent 99af4fcad0
commit 4fd85a0e19
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
networkx,
numpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "colormath2";
version = "3.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "bkmgit";
repo = "python-colormath2";
tag = version;
hash = "sha256-G8b0L8A2RzbVQFPNg2fuBklqTNjo3yqvek/+GnqtsHc=";
};
build-system = [ setuptools ];
dependencies = [
networkx
numpy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "colormath2" ];
meta = {
description = "Color math and conversion library (fork)";
homepage = "https://github.com/bkmgit/python-colormath2";
changelog = "https://github.com/bkmgit/python-colormath2/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ apraga ];
};
}
+2
View File
@@ -2560,6 +2560,8 @@ self: super: with self; {
colormath = callPackage ../development/python-modules/colormath { };
colormath2 = callPackage ../development/python-modules/colormath2 { };
colorspacious = callPackage ../development/python-modules/colorspacious { };
colorthief = callPackage ../development/python-modules/colorthief { };