1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 googleapis-common-protos,
6 protobuf,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "google-cloud-audit-log";
12 version = "0.3.3";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "google_cloud_audit_log";
17 inherit version;
18 hash = "sha256-zKeB4fG1SY3xgyoLaDqZ6GwAsxAVu77vMAI4H3qWpj8=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 googleapis-common-protos
25 protobuf
26 ];
27
28 # Tests are a bit wonky to setup and are not very deep either
29 doCheck = false;
30
31 pythonImportsCheck = [ "google.cloud.audit" ];
32
33 meta = with lib; {
34 description = "Google Cloud Audit Protos";
35 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-audit-log";
36 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-audit-log-v${version}/packages/google-cloud-audit-log/CHANGELOG.md";
37 license = licenses.asl20;
38 maintainers = [ ];
39 };
40}