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