about summary refs log tree commit diff
path: root/pkgs/tools/system/systemd-journal2gelf/default.nix
blob: ef7f5b039cfb791c8141322e6928ae58c85f173f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "SystemdJournal2Gelf";
  version = "unstable-2023-03-10";

  src = fetchFromGitHub {
    owner = "parse-nl";
    repo = "SystemdJournal2Gelf";
    rev = "863a15df5ed2d50365bb9c27424e3b118ce404c0";
    hash = "sha256-AwJq0xZAoIpBz9kGERfmZZTn28LbAKIl3gUsFKL3yvs=";
  };

  vendorHash = null;

  ldflags = [ "-s" "-w" ];

  doCheck = false;

  meta = with lib; {
    description = "Export entries from systemd's journal and send them to a graylog server using gelf";
    homepage = "https://github.com/parse-nl/SystemdJournal2Gelf";
    license = licenses.bsd2;
    maintainers = with maintainers; [ fadenb fpletz ];
  };
}