about summary refs log tree commit diff
path: root/pkgs/tools/misc/tailspin
diff options
context:
space:
mode:
authorMostly Void <7rat13@gmail.com>2022-10-29 13:43:13 +0530
committerMostly Void <7rat13@gmail.com>2022-10-29 13:43:13 +0530
commit2b34a5c5fc145a3b64f8a77d22a11f318fb484e4 (patch)
treead819ed36a4eaf9c5dfce1f36a7e07eeb15b56ff /pkgs/tools/misc/tailspin
parentf30f5d82bce4af7b09edb775595ef679a5822f1a (diff)
tailspin: init at 0.1
Diffstat (limited to 'pkgs/tools/misc/tailspin')
-rw-r--r--pkgs/tools/misc/tailspin/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/tailspin/default.nix b/pkgs/tools/misc/tailspin/default.nix
new file mode 100644
index 0000000000000..741f7bcf2c1b1
--- /dev/null
+++ b/pkgs/tools/misc/tailspin/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "tailspin";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "bensadeh";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256-ReWgbAmEGpNOv6QArNT+eWaty88tChhH1nhH0vZe2/E=";
+  };
+
+  vendorSha256 = "sha256-rZJO/TSGrYwrtIKQpKhZZqnXY6IHNyjS26vBDv/iQ34=";
+
+  CGO_ENABLED = 0;
+
+  subPackages = [ "." ];
+
+  meta = with lib; {
+    description = "A log file highlighter and a drop-in replacement for `tail -f`";
+    homepage = "https://github.com/bensadeh/tailspin";
+    license = licenses.mit;
+    maintainers = with maintainers; [ dit7ya ];
+    mainProgram = "spin";
+  };
+}