My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/google-cloud-container/default.nix

56 lines
1.0 KiB

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.10.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-I3oYldj915GBCX5VLEZRqGS7jMHWasQGVIvj50EUTK4=";
};
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 ];
};
}