Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-os-config / default.nix
blob7abcde5174c0c42b38253ef899dd07d436757f43
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , protobuf
6 , proto-plus
7 , pytestCheckHook
8 , pytest-asyncio
9 , pythonOlder
10 , setuptools
13 buildPythonPackage rec {
14   pname = "google-cloud-os-config";
15   version = "1.17.3";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-oKOqWVmAP14dKpbVDlcX2KSRceTqVES/UGlLsYtnWHA=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     google-api-core
31     proto-plus
32     protobuf
33   ] ++ google-api-core.optional-dependencies.grpc;
35   nativeCheckInputs = [
36     pytest-asyncio
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "google.cloud.osconfig"
42   ];
44   disabledTests = [
45     # Test requires a project ID
46     "test_patch_deployment"
47     "test_patch_job"
48     "test_list_patch_jobs"
49   ];
51   meta = with lib; {
52     description = "Google Cloud OS Config API client library";
53     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-os-config";
54     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-os-config-v${version}/packages/google-cloud-os-config/CHANGELOG.md";
55     license = licenses.asl20;
56     maintainers = with maintainers; [ ];
57   };