nixpkgs/pkgs/development/python-modules/geopy/default.nix

31 lines
529 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, mock
, tox
, pylint
}:
buildPythonPackage rec {
pname = "geopy";
2018-11-04 10:35:00 +00:00
version = "1.17.0";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:00 +00:00
sha256 = "1bbea0efc5af91e0a7d4c2b31650f61667bcc1d0d717784d78c03f0ed13bb374";
};
doCheck = false; # too much
buildInputs = [ mock tox pylint ];
meta = with stdenv.lib; {
homepage = "https://github.com/geopy/geopy";
description = "Python Geocoding Toolbox";
license = licenses.mit;
};
}