syslogng: clean up build
This commit is contained in:
parent
b0015dc064
commit
1916a0cb9e
@ -67,7 +67,7 @@ in {
|
||||
configHeader = mkOption {
|
||||
type = types.lines;
|
||||
default = ''
|
||||
@version: 3.6
|
||||
@version: 4.4
|
||||
@include "scl.conf"
|
||||
'';
|
||||
description = lib.mdDoc ''
|
||||
|
@ -34,7 +34,6 @@
|
||||
}:
|
||||
let
|
||||
python-deps = ps: with ps; [
|
||||
pip
|
||||
boto3
|
||||
botocore
|
||||
cachetools
|
||||
@ -56,7 +55,7 @@ let
|
||||
websocket-client
|
||||
ply
|
||||
];
|
||||
myPy3 = (python3.withPackages python-deps);
|
||||
py = python3.withPackages python-deps;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "syslog-ng";
|
||||
@ -68,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
rev = "syslog-ng-${version}";
|
||||
hash = "sha256-NXwd4dyPfnHO3yjl3GPAMQYqenfpp7xFOil2G1e66w4=";
|
||||
};
|
||||
nativeBuildInputs = [ autoreconfHook autoconf-archive pkg-config which bison flex libxslt perl myPy3 ];
|
||||
nativeBuildInputs = [ autoreconfHook autoconf-archive pkg-config which bison flex libxslt perl ];
|
||||
|
||||
buildInputs = [
|
||||
libcap
|
||||
@ -76,7 +75,7 @@ stdenv.mkDerivation rec {
|
||||
openssl
|
||||
eventlog
|
||||
glib
|
||||
myPy3
|
||||
py
|
||||
systemd
|
||||
riemann_c_client
|
||||
protobufc
|
||||
@ -100,7 +99,7 @@ stdenv.mkDerivation rec {
|
||||
"--enable-dynamic-linking"
|
||||
"--enable-systemd"
|
||||
"--enable-smtp"
|
||||
"--with-python-packages=system"
|
||||
"--with-python-packages=none"
|
||||
"--with-hiredis=system"
|
||||
"--with-ivykis=system"
|
||||
"--with-librabbitmq-client=system"
|
||||
|
Loading…
Reference in New Issue
Block a user