diff --git a/pkgs/development/python-modules/geoip2/default.nix b/pkgs/development/python-modules/geoip2/default.nix index 461fac33435c..b90d1c34edb5 100644 --- a/pkgs/development/python-modules/geoip2/default.nix +++ b/pkgs/development/python-modules/geoip2/default.nix @@ -10,22 +10,27 @@ pytest-httpserver, requests, setuptools-scm, - setuptools, + uv-build, urllib3, }: buildPythonPackage rec { pname = "geoip2"; - version = "5.1.0"; + version = "5.2.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-7j+H8M6TJetkhP4Yy9l3GgPQorrR3RVvo1hPr6Vi05o="; + hash = "sha256-bJ3tGVP46xYEPtCo6iDm6VJOp7Zet0VyThJJCspE7wA="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "uv_build>=0.7.19,<0.8.0" uv_build + ''; + build-system = [ - setuptools + uv-build setuptools-scm ];