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 {
|
buildPythonPackage rec {
|
||||||
pname = "geopy";
|
pname = "geopy";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
disabled = pythonOlder "3.5";
|
format = "setuptools";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-zFz0T/M/CABKkChuiKsFkWj2pphZuFeE5gz0HxZYaz8=";
|
sha256 = "sha256-bHfjUfuiEH3AxRDTLmbm67bKOw6fBuMQDUQA2NLg800=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "geographiclib<2,>=1.49" "geographiclib"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
geographiclib
|
geographiclib
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue