ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-runtimeconfig / default.nix
blob3b435ac5adac4425cc6f73e901f19957f0542f6f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , google-cloud-core
6 , mock
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "google-cloud-runtimeconfig";
12   version = "0.33.2";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
17   };
19   propagatedBuildInputs = [ google-api-core google-cloud-core ];
21   checkInputs = [ mock pytestCheckHook ];
23   # Client tests require credentials
24   disabledTests = [ "client_options" ];
26   # prevent google directory from shadowing google imports
27   preCheck = ''
28     rm -r google
29   '';
31   pythonImportsCheck = [ "google.cloud.runtimeconfig" ];
33   meta = with lib; {
34     description = "Google Cloud RuntimeConfig API client library";
35     homepage = "https://pypi.org/project/google-cloud-runtimeconfig";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ SuperSandro2000 ];
38   };