2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-01-05 21:31:46 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-01-05 21:31:46 +00:00
|
|
|
, grpc_google_iam_v1
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
2018-11-02 19:05:49 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-container";
|
2020-12-14 09:01:52 +00:00
|
|
|
version = "2.3.0";
|
2018-11-02 19:05:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 21:31:46 +00:00
|
|
|
sha256 = "04f9mx1wxy3l9dvzvvr579fnjp1fdqhgplv5y2gl7h2mvn281k8d";
|
2018-11-02 19:05:49 +00:00
|
|
|
};
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
|
2020-11-03 01:15:22 +00:00
|
|
|
|
2021-01-05 21:31:46 +00:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
2018-11-02 19:05:49 +00:00
|
|
|
|
2021-01-05 21:31:46 +00:00
|
|
|
disabledTests = [
|
|
|
|
# requires credentials
|
|
|
|
"test_list_clusters"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.container"
|
|
|
|
"google.cloud.container_v1"
|
|
|
|
"google.cloud.container_v1beta1"
|
|
|
|
];
|
2018-11-02 19:05:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 19:05:49 +00:00
|
|
|
description = "Google Container Engine API client library";
|
2020-11-03 01:15:22 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-container";
|
2018-11-02 19:05:49 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 21:31:46 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 19:05:49 +00:00
|
|
|
};
|
|
|
|
}
|