python3Packages.google_cloud_websecurityscanner: fix build
This commit is contained in:
parent
3a0da735d9
commit
b99504f142
1 changed files with 6 additions and 13 deletions
|
@ -1,10 +1,5 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, libcst, mock, proto-plus, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-websecurityscanner";
|
||||
|
@ -15,16 +10,14 @@ buildPythonPackage rec {
|
|||
sha256 = "1de60f880487b898b499345f46f7acf38651f5356ebca8673116003a57f25393";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core ];
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Web Security Scanner API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
homepage = "https://github.com/googleapis/python-websecurityscanner";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue