mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
systemd-journal2gelf: use buildGoPackage
This commit is contained in:
parent
29a9c4fe91
commit
4a414f378b
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoPackage rec {
|
||||||
pname = "SystemdJournal2Gelf-unstable";
|
pname = "SystemdJournal2Gelf-unstable";
|
||||||
version = "20190702";
|
version = "20190702";
|
||||||
|
|
||||||
@ -8,10 +8,11 @@ buildGoModule {
|
|||||||
rev = "b1aa5ff31307d11a3c9b4dd08c3cd6230d935ec5";
|
rev = "b1aa5ff31307d11a3c9b4dd08c3cd6230d935ec5";
|
||||||
owner = "parse-nl";
|
owner = "parse-nl";
|
||||||
repo = "SystemdJournal2Gelf";
|
repo = "SystemdJournal2Gelf";
|
||||||
sha256 = "0i2pv817fjm2xazxb01dk2gg1xb4d9b6743gqrbsyghbkm7krx29";
|
sha256 = "13jyh34wprjixinmh6l7wj7lr1f6qy6nrjcf8l29a74mczbphnvv";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "0f66bjij3bkjs09xhhp26arivlqrd66z1j5ziy4lq4krg82krsdp";
|
goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";
|
||||||
|
|
||||||
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user