python3Packages.kml2geojson: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-15 15:17:18 +01:00
parent 8ae0882039
commit dd725542e3
@@ -1,13 +1,13 @@
{
lib,
buildPythonPackage,
hatchling,
fetchFromGitHub,
pytestCheckHook,
click,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "kml2geojson";
version = "5.1.1";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mrcagney";
repo = "kml2geojson";
tag = version;
tag = finalAttrs.version;
hash = "sha256-50hKosd4tgTV5GUXHAdTsz4S5QFtM7FTqUHy5TGcq0c=";
};
@@ -34,4 +34,4 @@ buildPythonPackage rec {
maintainers = with lib.maintainers; [ fab ];
mainProgram = "k2g";
};
}
})