1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, libcst
6, mock
7, proto-plus
8, pytestCheckHook
9, pytest-asyncio
10, pythonOlder
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-os-config";
15 version = "1.12.4";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-SmzCo/nh6FbTt+7lw4XAyF5gwDHQCOz8Nbl05/AkDfY=";
23 };
24
25 propagatedBuildInputs = [
26 google-api-core
27 libcst
28 proto-plus
29 ];
30
31 checkInputs = [
32 mock
33 pytestCheckHook
34 pytest-asyncio
35 ];
36
37 pythonImportsCheck = [
38 "google.cloud.osconfig"
39 ];
40
41 disabledTests = [
42 "test_patch_deployment"
43 "test_patch_job"
44 ];
45
46 meta = with lib; {
47 description = "Google Cloud OS Config API client library";
48 homepage = "https://github.com/googleapis/python-os-config";
49 license = licenses.asl20;
50 maintainers = with maintainers; [ SuperSandro2000 ];
51 };
52}