summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/red.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-26 13:12:45 +0200
committermakefu <github@syntax-fehler.de>2020-06-26 13:12:45 +0200
commit237a56464d13ff36b5872387d9dbdc43eeefa146 (patch)
treeb3751d87c6e9a935a2fa19babc1633b252468249 /krebs/5pkgs/simple/red.nix
parent5cd6756ceda7da9bfc467a7e2275d2a6a8bd1a80 (diff)
parent74a050db4e556524b361a73395964272bd1bae18 (diff)
Merge remote-tracking branch 'tv/master'
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;
+ };
+}