2022-05-14 01:07:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-20 16:17:29 +00:00
|
|
|
|
2022-05-14 01:07:59 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "SystemdJournal2Gelf";
|
2023-07-01 09:16:29 +00:00
|
|
|
version = "unstable-2023-03-10";
|
2016-06-20 16:17:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2023-07-01 09:16:29 +00:00
|
|
|
rev = "863a15df5ed2d50365bb9c27424e3b118ce404c0";
|
|
|
|
hash = "sha256-AwJq0xZAoIpBz9kGERfmZZTn28LbAKIl3gUsFKL3yvs=";
|
2016-06-20 16:17:29 +00:00
|
|
|
};
|
|
|
|
|
2023-07-01 09:16:29 +00:00
|
|
|
vendorHash = null;
|
2022-05-14 01:07:59 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
doCheck = false;
|
2016-06-20 16:17:29 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 16:17:29 +00:00
|
|
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
2022-05-14 01:07:59 +00:00
|
|
|
homepage = "https://github.com/parse-nl/SystemdJournal2Gelf";
|
2016-06-20 16:17:29 +00:00
|
|
|
license = licenses.bsd2;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with maintainers; [ fadenb fpletz ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "SystemdJournal2Gelf";
|
2016-06-20 16:17:29 +00:00
|
|
|
};
|
|
|
|
}
|