aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix19
1 files changed, 6 insertions, 13 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix
index a43f7fd5f9c2..356759f9bcb5 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix
@@ -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 ];
};