python3Packages.google-cloud-org-policy: 0.3.0 -> 1.0.1
This commit is contained in:
parent
a67cc6b063
commit
aa2610b5a4
|
@ -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 {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-org-policy";
|
pname = "google-cloud-org-policy";
|
||||||
version = "0.3.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "eea55e99ceec896ffc98ee3051710a241b7d335f246a0472bbffbb0cb2def453";
|
sha256 = "12qwiqb7xrnq42z777j5nxdgka3vv411l9cngka6cr6mx4s83c9l";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ google-api-core proto-plus ];
|
propagatedBuildInputs = [ google-api-core proto-plus ];
|
||||||
|
|
||||||
# No tests in repo
|
# prevent google directory from shadowing google imports
|
||||||
doCheck = false;
|
preCheck = ''
|
||||||
|
rm -r google
|
||||||
|
'';
|
||||||
|
checkInputs = [ mock protobuf pytest-asyncio pytestCheckHook ];
|
||||||
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
|
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue