syslog-ng-incubator: Refactor

This commit is contained in:
William A. Kennington III 2014-11-01 13:44:48 -07:00
parent 8e1072fd60
commit 79cc2754ca

View File

@ -1,23 +1,23 @@
{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, glib, syslogng { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng
, eventlog, perl, python, yacc, riemann_c_client, libivykis, protobufc }: , eventlog, perl, python, yacc, riemann_c_client, libivykis, protobufc
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "syslog-ng-incubator-${version}"; name = "syslog-ng-incubator-${version}";
version = "0.3.3"; version = "0.3.3";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/balabit/syslog-ng-incubator/archive/${name}.tar.gz"; owner = "balabit";
sha256 = "1yx2gdq1vhrcp113hxgl66z5df4ya9nznvq00nvy4v9yn8wf9fb8"; repo = "syslog-ng-incubator";
rev = name;
sha256 = "0pswajcw9f651c1jmprbf1mlr6qadiaplyygz5j16vj0d23x4mal";
}; };
buildInputs = [ buildInputs = [
autoconf automake libtool pkgconfig glib syslogng eventlog perl python autoreconfHook pkgconfig glib syslogng eventlog perl python
yacc riemann_c_client libivykis protobufc yacc riemann_c_client libivykis protobufc
]; ];
preConfigure = "autoreconf -i";
configureFlags = [ configureFlags = [
"--without-ivykis" "--without-ivykis"
"--with-riemann" "--with-riemann"