2022-05-14 02:07:59 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-20 17:17:29 +01:00
|
|
|
|
2022-05-14 02:07:59 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "SystemdJournal2Gelf";
|
|
|
|
version = "unstable-2022-02-15";
|
2016-06-20 17:17:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2022-05-14 02:07:59 +01:00
|
|
|
rev = "86f9f41b26b6848345c2424fbf1ff907b876bb5b";
|
|
|
|
sha256 = "sha256-xsrKuZVN6Eb0vG98LbQnFqNxHthv+uL/h2HCDiFY0Oo=";
|
2016-06-20 17:17:29 +01:00
|
|
|
};
|
|
|
|
|
2022-05-14 02:07:59 +01:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
doCheck = false;
|
2016-06-20 17:17:29 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 17:17:29 +01:00
|
|
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
2022-05-14 02:07:59 +01:00
|
|
|
homepage = "https://github.com/parse-nl/SystemdJournal2Gelf";
|
2016-06-20 17:17:29 +01:00
|
|
|
license = licenses.bsd2;
|
2019-08-20 18:36:05 +01:00
|
|
|
maintainers = with maintainers; [ fadenb fpletz ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2016-06-20 17:17:29 +01:00
|
|
|
};
|
|
|
|
}
|