uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
64
pkgs/tools/system/syslog-ng/default.nix
Normal file
64
pkgs/tools/system/syslog-ng/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib, stdenv, fetchurl, openssl, libcap, curl, which
|
||||
, eventlog, pkg-config, glib, python3, systemd, perl
|
||||
, riemann_c_client, protobufc, pcre, libnet
|
||||
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
|
||||
, libesmtp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "syslog-ng";
|
||||
version = "3.36.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/${pname}/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-kKJcl2f+dJ21DxGN38kuxxOZdj0uzVrU8R/17qBJ5gs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config which ];
|
||||
|
||||
buildInputs = [
|
||||
libcap
|
||||
curl
|
||||
openssl
|
||||
eventlog
|
||||
glib
|
||||
perl
|
||||
python3
|
||||
systemd
|
||||
riemann_c_client
|
||||
protobufc
|
||||
pcre
|
||||
libnet
|
||||
json_c
|
||||
libuuid
|
||||
libivykis
|
||||
mongoc
|
||||
rabbitmq-c
|
||||
libesmtp
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-manpages"
|
||||
"--enable-dynamic-linking"
|
||||
"--enable-systemd"
|
||||
"--enable-smtp"
|
||||
"--with-ivykis=system"
|
||||
"--with-librabbitmq-client=system"
|
||||
"--with-mongoc=system"
|
||||
"--with-jsonc=system"
|
||||
"--with-systemd-journal=system"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.syslog-ng.com";
|
||||
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue