systemd-journal2gelf: 20170413 -> 20190702
This commit is contained in:
parent
3464c602e8
commit
60ed1f425b
@ -1,19 +1,17 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
name = "SystemdJournal2Gelf-${version}";
|
pname = "SystemdJournal2Gelf-unstable";
|
||||||
version = "20170413";
|
version = "20190702";
|
||||||
|
|
||||||
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "862b1d60d2ba12cd8480304ca95041066cc8bdd0";
|
rev = "b1aa5ff31307d11a3c9b4dd08c3cd6230d935ec5";
|
||||||
owner = "parse-nl";
|
owner = "parse-nl";
|
||||||
repo = "SystemdJournal2Gelf";
|
repo = "SystemdJournal2Gelf";
|
||||||
sha256 = "0xvvc7w2sxkhb33nkq5v626l673d5j2z0yc75wvmqzncwfkkv94v";
|
sha256 = "0i2pv817fjm2xazxb01dk2gg1xb4d9b6743gqrbsyghbkm7krx29";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
modSha256 = "0f66bjij3bkjs09xhhp26arivlqrd66z1j5ziy4lq4krg82krsdp";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
|
||||||
|
11
pkgs/tools/system/systemd-journal2gelf/deps.nix
generated
11
pkgs/tools/system/systemd-journal2gelf/deps.nix
generated
@ -1,11 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/DECK36/go-gelf";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/DECK36/go-gelf";
|
|
||||||
rev = "4bc6123df0946a1c23fd54e0c1d0ed68b44fd99f";
|
|
||||||
sha256 = "071zdwcl8ld05gv88yym1p7xq72igd6jj05n5d7v01hn6rvj48ay";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
x
Reference in New Issue
Block a user