2016-06-20 17:17:29 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "SystemdJournal2Gelf-${version}";
|
2017-08-12 09:58:54 +01:00
|
|
|
version = "20170413";
|
2016-06-20 17:17:29 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-08-12 09:58:54 +01:00
|
|
|
rev = "862b1d60d2ba12cd8480304ca95041066cc8bdd0";
|
2016-06-20 17:17:29 +01:00
|
|
|
owner = "parse-nl";
|
|
|
|
repo = "SystemdJournal2Gelf";
|
2017-08-12 09:58:54 +01:00
|
|
|
sha256 = "0xvvc7w2sxkhb33nkq5v626l673d5j2z0yc75wvmqzncwfkkv94v";
|
2016-06-20 17:17:29 +01:00
|
|
|
};
|
|
|
|
|
2016-09-16 15:28:19 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-20 17:17:29 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ fadenb fpletz globin ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2016-06-20 17:17:29 +01:00
|
|
|
};
|
|
|
|
}
|