mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
44 lines
958 B
Nix
44 lines
958 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, grpc-google-iam-v1
|
|
, libcst
|
|
, mock
|
|
, proto-plus
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-container";
|
|
version = "2.10.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "939970cd09384dde6d6f6758b03648fd8f52fe5c2f83f73300575f7e4e3b2ee0";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
|
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
disabledTests = [
|
|
# requires credentials
|
|
"test_list_clusters"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"google.cloud.container"
|
|
"google.cloud.container_v1"
|
|
"google.cloud.container_v1beta1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Google Container Engine API client library";
|
|
homepage = "https://github.com/googleapis/python-container";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|