diff --git a/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix b/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix new file mode 100644 index 000000000000..5a12be2ae557 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-websecurityscanner"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "d41a9e1a093862aa1b181fa7fdc2a94e185eb4a8f290dbdb928bc9ebd253a95f"; + }; + + checkInputs = [ pytest ]; + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d390e176ecf3..4f6d14d60392 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2508,6 +2508,8 @@ in { google_cloud_vision = callPackage ../development/python-modules/google_cloud_vision { }; + google_cloud_websecurityscanner = callPackage ../development/python-modules/google_cloud_websecurityscanner { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; });