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