python3Packages.cligj: modernize

This commit is contained in:
Harinn
2026-07-15 12:28:34 +07:00
parent 53a188f073
commit 19a30d79d8
@@ -7,15 +7,17 @@
pytest,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cligj";
version = "0.7.2";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "mapbox";
repo = "cligj";
rev = version;
tag = finalAttrs.version;
hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
};
@@ -31,10 +33,12 @@ buildPythonPackage rec {
pytest tests
'';
pythonImportsCheck = [ "cligj" ];
meta = {
description = "Click params for command line interfaces to GeoJSON";
homepage = "https://github.com/mapbox/cligj";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})