Unverified Commit ec64070f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.nominatim: migrate to finalAttrs

parent 33241219
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  sqlalchemy,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "nominatim";
  version = "5.3.1";
  pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "osm-search";
    repo = "Nominatim";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-3WU8n121JbFFZTntcKG6t0x2mC1AzI97q/fMe/UTGTs=";
  };

@@ -34,9 +34,7 @@ buildPythonPackage rec {
    cd packaging/nominatim-api
  '';

  build-system = [
    hatchling
  ];
  build-system = [ hatchling ];

  dependencies = [
    async-timeout
@@ -61,4 +59,4 @@ buildPythonPackage rec {
      ngi
    ];
  };
}
})