2018-10-26 16:14:38 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, mock
|
|
|
|
, tox
|
|
|
|
, pylint
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "geopy";
|
2019-06-15 08:20:03 +00:00
|
|
|
version = "1.20.0";
|
2018-10-26 16:14:38 +00:00
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-15 08:20:03 +00:00
|
|
|
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
|
2018-10-26 16:14:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2019-10-07 15:20:23 +00:00
|
|
|
broken = true;
|
2018-10-26 16:14:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|