2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
googleapis-common-protos,
|
|
|
|
protobuf,
|
|
|
|
pythonOlder,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2023-01-11 07:51:40 +00:00
|
|
|
}:
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-audit-log";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.3.0";
|
|
|
|
pyproject = true;
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "google_cloud_audit_log";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-kBQoslcCDYwdETPg+gBBZKVV5aOVx8o827hIZRPfOmU=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2024-06-05 15:53:02 +00:00
|
|
|
googleapis-common-protos
|
|
|
|
protobuf
|
|
|
|
];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# Tests are a bit wonky to setup and are not very deep either
|
2021-08-27 14:25:00 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "google.cloud.audit" ];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Google Cloud Audit Protos";
|
|
|
|
homepage = "https://github.com/googleapis/python-audit-log";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
}
|