python310Packages.geopy: remove outdated postPatch

This commit is contained in:
Mario Rodas 2022-11-18 04:20:00 +00:00
parent c92e3b8b38
commit 763fdd330f

View file

@ -13,7 +13,7 @@ buildPythonPackage rec {
pname = "geopy";
version = "2.3.0";
format = "setuptools";
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
@ -22,11 +22,6 @@ buildPythonPackage rec {
sha256 = "sha256-bHfjUfuiEH3AxRDTLmbm67bKOw6fBuMQDUQA2NLg800=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "geographiclib<2,>=1.49" "geographiclib"
'';
propagatedBuildInputs = [
geographiclib
];