Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 957 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, grpc_google_iam_v1 6, libcst 7, mock 8, proto-plus 9, pytestCheckHook 10, pytest-asyncio 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-container"; 15 version = "2.4.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "c62d15f58459fbe83ba5789f800ac27b4be9a1d7735f6c6b702cd6c3f8c6f0c9"; 20 }; 21 22 propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ]; 23 24 checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 25 26 disabledTests = [ 27 # requires credentials 28 "test_list_clusters" 29 ]; 30 31 pythonImportsCheck = [ 32 "google.cloud.container" 33 "google.cloud.container_v1" 34 "google.cloud.container_v1beta1" 35 ]; 36 37 meta = with lib; { 38 description = "Google Container Engine API client library"; 39 homepage = "https://github.com/googleapis/python-container"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ SuperSandro2000 ]; 42 }; 43}