mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
python310Packages.google-cloud-websecurityscanner: add missing inputs
- add format - disable on unsupported Python releases
This commit is contained in:
parent
d431a93225
commit
794928ce5a
1 changed files with 17 additions and 3 deletions
|
@ -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 a new issue