python3Packages.colorlover: migrate to pyproject (#529517)

This commit is contained in:
Yohann Boniface
2026-06-08 21:29:37 +00:00
committed by GitHub
@@ -2,25 +2,32 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "colorlover";
version = "0.3.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
sha256 = "b8fb7246ab46e1f5e6715649453c1762e245a515de5ff2d2b4aab7a6e67fa4e2";
inherit (finalAttrs) pname version;
hash = "sha256-uPtyRqtG4fXmcVZJRTwXYuJFpRXeX/LStKq3puZ/pOI=";
};
build-system = [ setuptools ];
# no tests included in distributed archive
doCheck = false;
pythonImportsCheck = [ "colorlover" ];
meta = {
homepage = "https://github.com/jackparmer/colorlover";
homepage = "https://github.com/plotly/colorlover";
description = "Color scales in Python for humans";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})