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