2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "SystemdJournal2Gelf-unstable";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "20200813";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-07 09:15:18 +00:00
|
|
|
rev = "d389dc8583b752cbd37c389a55a6c82200e47394";
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "0p38r5kdfcn6n2d44dygrs5xgv51s5qlsfhzzwn16r3n6x91s62b";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ fadenb fpletz ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|