2018-10-26 16:14:38 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2019-11-12 18:12:56 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy3k
|
|
|
|
, geographiclib
|
2018-10-26 16:14:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-11-12 18:12:56 +00:00
|
|
|
pname = "geopy-unstable";
|
|
|
|
version = "2019-11-10";
|
2018-10-26 16:14:38 +00:00
|
|
|
|
2019-11-12 18:12:56 +00:00
|
|
|
disabled = !isPy3k; # only Python 3
|
|
|
|
doCheck = false; # Needs network access
|
2018-10-26 16:14:38 +00:00
|
|
|
|
2019-11-12 18:12:56 +00:00
|
|
|
propagatedBuildInputs = [ geographiclib ];
|
2018-10-26 16:14:38 +00:00
|
|
|
|
2019-11-12 18:12:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geopy";
|
|
|
|
repo = "geopy";
|
|
|
|
rev = "531b7de6126838a3e69370227aa7f2086ba52b89";
|
|
|
|
sha256 = "07l1pblzg3hb3dbvd9rq8x78ly5dv0zxbc5hwskqil0bhv5v1p39";
|
|
|
|
};
|
2018-10-26 16:14:38 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/geopy/geopy";
|
|
|
|
description = "Python Geocoding Toolbox";
|
|
|
|
license = licenses.mit;
|
2019-11-12 18:12:56 +00:00
|
|
|
maintainers = with maintainers; [GuillaumeDesforges];
|
2018-10-26 16:14:38 +00:00
|
|
|
};
|
|
|
|
}
|