2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-20 16:17:29 +00:00
|
|
|
|
2019-09-21 09:29:00 +00:00
|
|
|
buildGoPackage rec {
|
2019-07-08 23:30:23 +00:00
|
|
|
pname = "SystemdJournal2Gelf-unstable";
|
2020-10-01 14:22:25 +00:00
|
|
|
version = "20200813";
|
2016-06-20 16:17:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-01 14:22:25 +00:00
|
|
|
rev = "d389dc8583b752cbd37c389a55a6c82200e47394";
|
2016-06-20 16:17:29 +00:00
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2020-10-01 14:22:25 +00:00
|
|
|
sha256 = "0p38r5kdfcn6n2d44dygrs5xgv51s5qlsfhzzwn16r3n6x91s62b";
|
2019-09-21 09:29:00 +00:00
|
|
|
fetchSubmodules = true;
|
2016-06-20 16:17:29 +00:00
|
|
|
};
|
|
|
|
|
2019-09-21 09:29:00 +00:00
|
|
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
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";
|
|
|
|
license = licenses.bsd2;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with maintainers; [ fadenb fpletz ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2016-06-20 16:17:29 +00:00
|
|
|
};
|
|
|
|
}
|