nixpkgs/pkgs/development/python-modules/geopy/default.nix
Guillaume Desforges 6d12f065e9 python3Packages.geopy: 1.20 -> unstable-2019-11-10
* Update geopy to unstable version from GitHub for Python 3+
* Add GuillaumeDesforges as maintainer
2019-11-14 23:24:16 +01:00

31 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];
};
}