python3Packages.colorlover: modernize
This commit is contained in:
@@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user