pythonPackages.google_cloud_websecurityscanner: init at 0.1.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 16:43:05 -04:00
parent 4dc3d52167
commit 24d96d9f04
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -2508,6 +2508,8 @@ in {
google_cloud_vision = callPackage ../development/python-modules/google_cloud_vision { }; 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 { }; google_resumable_media = callPackage ../development/python-modules/google_resumable_media { };
gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; });