nixpkgs-suyu/pkgs/tools/system/syslog-ng-incubator/default.nix

34 lines
904 B
Nix
Raw Normal View History

2014-11-01 21:44:48 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng
, eventlog, perl, python, yacc, protobufc, libivykis, libcap, czmq
2014-11-01 21:44:48 +01:00
}:
stdenv.mkDerivation rec {
name = "syslog-ng-incubator-${version}";
2018-02-25 18:48:58 +01:00
version = "0.6.2";
2014-11-01 21:44:48 +01:00
src = fetchFromGitHub {
owner = "balabit";
repo = "syslog-ng-incubator";
rev = name;
2018-02-25 18:48:58 +01:00
sha256 = "17y85cqcyfbp882gaii731cvz5bg1s8rgda271jh6kgnrz5rbd4s";
};
nativeBuildInputs = [ pkgconfig autoreconfHook yacc ];
buildInputs = [
glib syslogng eventlog perl python protobufc libivykis libcap czmq
];
configureFlags = [
"--with-module-dir=$(out)/lib/syslog-ng"
];
meta = with stdenv.lib; {
homepage = https://github.com/balabit/syslog-ng-incubator;
description = "A collection of tools and modules for syslog-ng";
license = licenses.gpl2;
maintainers = [ maintainers.rickynils ];
platforms = platforms.linux;
};
}