{ stdenv , buildPythonPackage , fetchPypi , google_api_core , pytest , mock }: buildPythonPackage rec { pname = "google-cloud-websecurityscanner"; version = "0.4.0"; src = fetchPypi { inherit pname version; sha256 = "1c8031e6eec59ee3e2d4af88090ba36521ceb67d79cb297d3c128d2a16af0798"; }; checkInputs = [ pytest mock ]; propagatedBuildInputs = [ google_api_core ]; checkPhase = '' pytest tests/unit ''; meta = with stdenv.lib; { description = "Google Cloud Web Security Scanner API client library"; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; license = licenses.asl20; maintainers = [ maintainers.costrouc ]; }; }