2021-08-27 14:25:00 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, googleapis-common-protos, protobuf }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-audit-log";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.2.2";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-bYmQOEiu6YF0d+zjBlRIUbkDpexWHalmu7pajRJQmk0=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ 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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|