syslog-ng-incubator: Refactor
This commit is contained in:
parent
8e1072fd60
commit
79cc2754ca
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user