summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/red.nix
blob: 51f02aa5cd9af39f8e9a9cd0ac702f4811b01f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildGoModule, fetchFromGitHub, lib }:

buildGoModule rec {
  pname = "red";
  version = "g${lib.substring 0 7 src.rev}";

  src = fetchFromGitHub {
    owner = "antonmedv";
    repo = "red";
    rev = "0bfb499760f391d09c6addec2527b0f77eaacdd6";
    sha256 = "0i8f8ih3z97zzbkjkwy4y8z75izm1fscq0rr1g77q7z3kz1lrgrx";
  };

  modSha256 = "0640x6p5hi7yp001cw13z5a17bi9vgd3gij5fxa1y06d3848cv7l";

  meta = {
    description = "Terminal log analysis tools";
    homepage = https://github.com/analysis/red;
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.tv ];
    platforms = lib.platforms.linux;
  };
}