159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
43 lines
928 B
Nix
43 lines
928 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
googleapis-common-protos,
|
|
protobuf,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-audit-log";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "google_cloud_audit_log";
|
|
inherit version;
|
|
hash = "sha256-kBQoslcCDYwdETPg+gBBZKVV5aOVx8o827hIZRPfOmU=";
|
|
};
|
|
|
|
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 = with lib; {
|
|
description = "Google Cloud Audit Protos";
|
|
homepage = "https://github.com/googleapis/python-audit-log";
|
|
changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|