mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
29 lines
605 B
Nix
29 lines
605 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, geographiclib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "geopy";
|
|
version = "1.21.0";
|
|
|
|
disabled = !isPy27; # only Python 2.7
|
|
doCheck = false; # Needs network access
|
|
|
|
propagatedBuildInputs = [ geographiclib ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1p1sgy2p59j0297bp7c82b45bx4d3i1p4kvbgf89c9i0llyb80nw";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/geopy/geopy";
|
|
description = "Python Geocoding Toolbox";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [GuillaumeDesforges];
|
|
};
|
|
}
|