summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/red.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/simple/red.nix')
-rw-r--r--krebs/5pkgs/simple/red.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/red.nix b/krebs/5pkgs/simple/red.nix
new file mode 100644
index 000000000..51f02aa5c
--- /dev/null
+++ b/krebs/5pkgs/simple/red.nix
@@ -0,0 +1,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;
+ };
+}