python3Packages.google-cloud-org-policy: 0.3.0 -> 1.0.1

This commit is contained in:
Austin Butler 2021-08-06 17:49:59 -07:00 committed by Jonathan Ringer
parent a67cc6b063
commit aa2610b5a4

View file

@ -1,19 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core, proto-plus }:
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, google-api-core, mock, proto-plus, protobuf, pytest-asyncio }:
buildPythonPackage rec {
pname = "google-cloud-org-policy";
version = "0.3.0";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "eea55e99ceec896ffc98ee3051710a241b7d335f246a0472bbffbb0cb2def453";
sha256 = "12qwiqb7xrnq42z777j5nxdgka3vv411l9cngka6cr6mx4s83c9l";
};
propagatedBuildInputs = [ google-api-core proto-plus ];
# No tests in repo
doCheck = false;
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
checkInputs = [ mock protobuf pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
meta = with lib; {