syslogng: add option to enable grpc module (#341055)

This commit is contained in:
Fabián Heredia Montiel 2024-09-16 13:36:10 -06:00 committed by GitHub
commit 08eab35e5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,9 @@
, libesmtp
, rdkafka
, gperf
, withGrpc ? true
, grpc
, protobuf
}:
let
python-deps = ps: with ps; [
@ -94,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
paho-mqtt-c
hiredis
rdkafka
];
] ++ (lib.optionals withGrpc [ protobuf grpc ]);
configureFlags = [
"--enable-manpages"
@ -111,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
"--with-systemd-journal=system"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
"--without-compile-date"
];
] ++ (lib.optionals withGrpc [ "--enable-grpc" ]);
outputs = [ "out" "man" ];