3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #201381 from r-ryantm/auto-update/python310Packages.geopy

python310Packages.geopy: 2.2.0 -> 2.3.0
This commit is contained in:
Mario Rodas 2022-11-19 10:59:29 -05:00 committed by GitHub
commit b42bde1b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
];