Files
nixpkgs/pkgs/development/python-modules/google-cloud-audit-log/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
977 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
googleapis-common-protos,
protobuf,
setuptools,
}:
buildPythonPackage rec {
pname = "google-cloud-audit-log";
version = "0.3.3";
pyproject = true;
src = fetchPypi {
pname = "google_cloud_audit_log";
inherit version;
hash = "sha256-zKeB4fG1SY3xgyoLaDqZ6GwAsxAVu77vMAI4H3qWpj8=";
};
build-system = [ setuptools ];
dependencies = [
googleapis-common-protos
protobuf
];
# Tests are a bit wonky to setup and are not very deep either
doCheck = false;
pythonImportsCheck = [ "google.cloud.audit" ];
meta = {
description = "Google Cloud Audit Protos";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-audit-log";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-audit-log-v${version}/packages/google-cloud-audit-log/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = [ ];
};
}