python310Packages.google-cloud-websecurityscanner: add missing inputs
- add format - disable on unsupported Python releases
This commit is contained in:
parent
d431a93225
commit
794928ce5a
@ -5,22 +5,36 @@
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, protobuf
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-websecurityscanner";
|
||||
version = "1.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-rp/clC5lN3+fc3bz3Qb+oqHyVMS+jLX9gxxB0zOCxfM=";
|
||||
hash = "sha256-rp/clC5lN3+fc3bz3Qb+oqHyVMS+jLX9gxxB0zOCxfM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
libcst
|
||||
protobuf
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.websecurityscanner_v1alpha"
|
||||
|
Loading…
Reference in New Issue
Block a user