pythonPackages.google_cloud_kms: Cleanups
This commit is contained in:
parent
021c6f2d98
commit
116e793059
@ -1,5 +1,13 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
{ stdenv
|
||||||
, grpc_google_iam_v1, google_api_core, libcst, mock, proto-plus, pytest-asyncio
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, grpc_google_iam_v1
|
||||||
|
, google_api_core
|
||||||
|
, libcst
|
||||||
|
, mock
|
||||||
|
, proto-plus
|
||||||
|
, pytest-asyncio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -11,19 +19,22 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
|
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
|
||||||
|
|
||||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||||
propagatedBuildInputs =
|
|
||||||
[ grpc_google_iam_v1 google_api_core libcst proto-plus ];
|
|
||||||
|
|
||||||
# Disable tests that need credentials
|
# Disable tests that need credentials
|
||||||
disabledTests = [ "test_list_global_key_rings" ];
|
disabledTests = [ "test_list_global_key_rings" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"google.cloud.kms"
|
||||||
|
"google.cloud.kms_v1"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cloud Key Management Service (KMS) API API client library";
|
description = "Cloud Key Management Service (KMS) API API client library";
|
||||||
homepage = "https://github.com/googleapis/python-kms";
|
homepage = "https://github.com/googleapis/python-kms";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user