summary refs log tree commit diff
path: root/pkgs/tools/system/systemd-journal2gelf/default.nix
blob: 62a7c9d8aeae55371498d4fc15e7a5d248ec5234 (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
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "SystemdJournal2Gelf-unstable";
  version = "20200813";

  src = fetchFromGitHub {
    rev = "d389dc8583b752cbd37c389a55a6c82200e47394";
    owner = "parse-nl";
    repo = "SystemdJournal2Gelf";
    sha256 = "0p38r5kdfcn6n2d44dygrs5xgv51s5qlsfhzzwn16r3n6x91s62b";
    fetchSubmodules = true;
  };

  goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf";

  meta = with 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 ];
    platforms = platforms.unix;
  };
}