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:
commit
b42bde1b0a
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue