Commit dd725542 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.kml2geojson: migrate to finalAttrs

parent 8ae08820
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  hatchling,
  click,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
  click,
}:

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";
  };
}
})