pythonPackages.google_cloud_asset: init at 0.1.1

This commit is contained in:
Chris Ostrouchov 2018-11-02 14:57:06 -04:00
parent 7e852bf739
commit 035ae7a5c8
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, enum34
, grpc_google_iam_v1
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-asset";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "cec2f44a670371e24e6140c454fdac3ed06be0a021042c6756a3284b505335c7";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Cloud Asset API API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2440,6 +2440,8 @@ in {
google_auth = callPackage ../development/python-modules/google_auth { };
google_cloud_asset = callPackage ../development/python-modules/google_cloud_asset { };
google_cloud_core = callPackage ../development/python-modules/google_cloud_core { };
google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { };