@@ -0,0 +1,28 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, isPy27
5+, geographiclib
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "geopy";
10+ version = "1.20.0";
11+
12+ disabled = !isPy27; # only Python 2.7
13+ doCheck = false; # Needs network access
14+
15+ propagatedBuildInputs = [ geographiclib ];
16+
17+ src = fetchPypi {
18+ inherit pname version;
19+ sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
20+ };
21+
22+ meta = with stdenv.lib; {
23+ homepage = "https://github.com/geopy/geopy";
24+ description = "Python Geocoding Toolbox";
25+ license = licenses.mit;
26+ maintainers = with maintainers; [GuillaumeDesforges];
27+ };
28+}