pythonPackages.google_cloud_kms: init at 0.2.0
This commit is contained in:
32
pkgs/development/python-modules/google_cloud_kms/default.nix
Normal file
32
pkgs/development/python-modules/google_cloud_kms/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, grpc_google_iam_v1
|
||||
, google_api_core
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-kms";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "add648f9185a8724f8632b3a006ee0af4847a5ab4ca085954ff1d00a8cd2d54c";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Key Management Service (KMS) API API client library";
|
||||
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user