python3Packages.google_cloud_kms: 2.0.1 -> 2.2.0
This commit is contained in:
parent
3305029ef1
commit
3eda2da78d
@ -1,32 +1,28 @@
|
|||||||
{ stdenv
|
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||||
, buildPythonPackage
|
, grpc_google_iam_v1, google_api_core, libcst, mock, proto-plus, pytest-asyncio
|
||||||
, fetchPypi
|
|
||||||
, enum34
|
|
||||||
, grpc_google_iam_v1
|
|
||||||
, google_api_core
|
|
||||||
, pytest
|
|
||||||
, mock
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-kms";
|
pname = "google-cloud-kms";
|
||||||
version = "2.0.1";
|
version = "2.2.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c590a8ab12a3f776ab35e570d21c0881f9d73c444bd509e54321a4c715233372";
|
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest mock ];
|
disabled = pythonOlder "3.6";
|
||||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||||
pytest tests/unit
|
propagatedBuildInputs =
|
||||||
'';
|
[ grpc_google_iam_v1 google_api_core libcst proto-plus ];
|
||||||
|
|
||||||
|
# Disable tests that need credentials
|
||||||
|
disabledTests = [ "test_list_global_key_rings" ];
|
||||||
|
|
||||||
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/GoogleCloudPlatform/google-cloud-python";
|
homepage = "https://github.com/googleapis/python-kms";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = [ maintainers.costrouc ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user