python3Packages.googlemaps: 4.4.2 -> 4.4.5
This commit is contained in:
parent
b9eaf2867c
commit
b1632106a4
@ -1,28 +1,32 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pytest-cov
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
, responses
|
, responses
|
||||||
, pytestCheckHook
|
|
||||||
, pytestcov
|
|
||||||
, isPy27
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "googlemaps";
|
pname = "googlemaps";
|
||||||
version = "4.4.2";
|
version = "4.4.5";
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "googlemaps";
|
owner = "googlemaps";
|
||||||
repo = "google-maps-services-python";
|
repo = "google-maps-services-python";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "DYhW1OGce/0gY7Jmwq6iM45PxLyXIYo4Cfg2u6Xuyg4=";
|
sha256 = "sha256-Rdfp98UqTMbqcOpkzh0Dz8fNSSbuvCnCztCkxiBgaAA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook responses pytestcov ];
|
checkInputs = [
|
||||||
|
pytest-cov
|
||||||
|
pytestCheckHook
|
||||||
|
responses
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# touches network
|
# touches network
|
||||||
@ -30,6 +34,8 @@ buildPythonPackage rec {
|
|||||||
"test_transit_without_time"
|
"test_transit_without_time"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "googlemaps" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/googlemaps/google-maps-services-python";
|
homepage = "https://github.com/googlemaps/google-maps-services-python";
|
||||||
description = "Python client library for Google Maps API Web Services";
|
description = "Python client library for Google Maps API Web Services";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user