perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / googlemaps / default.nix
blobc4396a52ae30807a0fdbe81d77dbdd72269ad3b3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-cov-stub,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   responses,
12 buildPythonPackage rec {
13   pname = "googlemaps";
14   version = "4.10.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.5";
19   src = fetchFromGitHub {
20     owner = "googlemaps";
21     repo = "google-maps-services-python";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-8oGZEMKUGaDHKq4qIZy10cbLNMmVclJnQE/dx877pNQ=";
24   };
26   propagatedBuildInputs = [ requests ];
28   nativeCheckInputs = [
29     pytest-cov-stub
30     pytestCheckHook
31     responses
32   ];
34   disabledTests = [
35     # touches network
36     "test_elevation_along_path_single"
37     "test_transit_without_time"
38   ];
40   pythonImportsCheck = [ "googlemaps" ];
42   meta = with lib; {
43     description = "Python client library for Google Maps API Web Services";
44     homepage = "https://github.com/googlemaps/google-maps-services-python";
45     changelog = "https://github.com/googlemaps/google-maps-services-python/releases/tag/v${version}";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ Scriptkiddi ];
48   };