pythonPackages.google_cloud_resource_manager: init at 0.28.1

This commit is contained in:
Chris Ostrouchov
2018-11-02 16:09:18 -04:00
parent 2964bb840c
commit 4171715886
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_cloud_core
, google_api_core
, pytest
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "0.28.1";
src = fetchPypi {
inherit pname version;
sha256 = "fc29c11dcbe9208261d377185a1ae5331bab43f2a592222a25c8aca9c8031308";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_cloud_core google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Resource Manager API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}