diff --git a/pkgs/development/python-modules/geopy/default.nix b/pkgs/development/python-modules/geopy/default.nix index 3ef58b9ec470..965411fe4af8 100644 --- a/pkgs/development/python-modules/geopy/default.nix +++ b/pkgs/development/python-modules/geopy/default.nix @@ -11,21 +11,17 @@ buildPythonPackage rec { pname = "geopy"; - version = "2.2.0"; - disabled = pythonOlder "3.5"; + version = "2.3.0"; + format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = version; - sha256 = "sha256-zFz0T/M/CABKkChuiKsFkWj2pphZuFeE5gz0HxZYaz8="; + rev = "refs/tags/${version}"; + sha256 = "sha256-bHfjUfuiEH3AxRDTLmbm67bKOw6fBuMQDUQA2NLg800="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "geographiclib<2,>=1.49" "geographiclib" - ''; - propagatedBuildInputs = [ geographiclib ];