depot/third_party/nixpkgs/pkgs/development/python-modules/geopy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
696 B
Nix

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