diff options
Diffstat (limited to 'pkgs/development/python-modules/geopy/2.nix')
-rw-r--r-- | pkgs/development/python-modules/geopy/2.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/geopy/2.nix b/pkgs/development/python-modules/geopy/2.nix new file mode 100644 index 00000000000..49876872724 --- /dev/null +++ b/pkgs/development/python-modules/geopy/2.nix @@ -0,0 +1,28 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, isPy27 +, geographiclib +}: + +buildPythonPackage rec { + pname = "geopy"; + version = "1.20.0"; + + disabled = !isPy27; # only Python 2.7 + doCheck = false; # Needs network access + + propagatedBuildInputs = [ geographiclib ]; + + src = fetchPypi { + inherit pname version; + sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2"; + }; + + meta = with stdenv.lib; { + homepage = "https://github.com/geopy/geopy"; + description = "Python Geocoding Toolbox"; + license = licenses.mit; + maintainers = with maintainers; [GuillaumeDesforges]; + }; +} |