pythonPackages:google*: Noramlize names by replacing _ with -
This commit is contained in:
40
pkgs/development/python-modules/google-cloud-kms/default.nix
Normal file
40
pkgs/development/python-modules/google-cloud-kms/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, grpc_google_iam_v1
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-kms";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
# Disable tests that need credentials
|
||||
disabledTests = [ "test_list_global_key_rings" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.kms"
|
||||
"google.cloud.kms_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Key Management Service (KMS) API API client library";
|
||||
homepage = "https://github.com/googleapis/python-kms";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user