mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
d5cceedbd1
Since aliases are disallowed in nixpkgs, this makes usage of Python 2 which is EOL more explicit.
35 lines
926 B
Nix
35 lines
926 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, syslogng
|
|
, eventlog, perl, python2, bison, protobufc, libivykis, libcap, czmq
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "syslog-ng-incubator";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "balabit";
|
|
repo = "syslog-ng-incubator";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "17y85cqcyfbp882gaii731cvz5bg1s8rgda271jh6kgnrz5rbd4s";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook bison ];
|
|
|
|
buildInputs = [
|
|
glib syslogng eventlog perl python2 protobufc libivykis libcap czmq
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-module-dir=$(out)/lib/syslog-ng"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/balabit/syslog-ng-incubator";
|
|
description = "A collection of tools and modules for syslog-ng";
|
|
license = licenses.gpl2;
|
|
maintainers = [];
|
|
platforms = platforms.linux;
|
|
broken = true; # 2018-05-12
|
|
};
|
|
}
|