pythonPackages.googlemaps: init at 4.4.2
This commit is contained in:
parent
afa12b1128
commit
1e3f24f5f4
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
, responses, pytestCheckHook, pytest, pytestcov, isPy27
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "googlemaps";
|
||||||
|
version = "4.4.2";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "googlemaps";
|
||||||
|
repo = "google-maps-services-python";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "DYhW1OGce/0gY7Jmwq6iM45PxLyXIYo4Cfg2u6Xuyg4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook responses pytestcov ];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# touches network
|
||||||
|
"test_elevation_along_path_single"
|
||||||
|
"test_transit_without_time"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/googlemaps/google-maps-services-python";
|
||||||
|
description = "Python client library for Google Maps API Web Services";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ Scriptkiddi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2498,6 +2498,8 @@ in {
|
||||||
|
|
||||||
google-i18n-address = callPackage ../development/python-modules/google-i18n-address { };
|
google-i18n-address = callPackage ../development/python-modules/google-i18n-address { };
|
||||||
|
|
||||||
|
googlemaps = callPackage ../development/python-modules/googlemaps { };
|
||||||
|
|
||||||
google-music = callPackage ../development/python-modules/google-music { };
|
google-music = callPackage ../development/python-modules/google-music { };
|
||||||
|
|
||||||
google-music-proto = callPackage ../development/python-modules/google-music-proto { };
|
google-music-proto = callPackage ../development/python-modules/google-music-proto { };
|
||||||
|
|
Loading…
Reference in New Issue