about summary refs log tree commit diff
path: root/pkgs/tools/admin/cw/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/admin/cw/default.nix')
-rw-r--r--pkgs/tools/admin/cw/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/admin/cw/default.nix b/pkgs/tools/admin/cw/default.nix
new file mode 100644
index 000000000000..413fad40dcc3
--- /dev/null
+++ b/pkgs/tools/admin/cw/default.nix
@@ -0,0 +1,22 @@
+{ buildGoModule, fetchFromGitHub, lib, stdenv }:
+
+buildGoModule rec {
+  pname = "cw";
+  version = "4.1.1";
+
+  src = fetchFromGitHub {
+    owner = "lucagrulla";
+    repo = "cw";
+    rev = "v${version}";
+    sha256 = "sha256-JsWwvVEr7kSjUy0S6wVcn24Xyo4OHr5/uqmnjw6v+RI=";
+  };
+
+  vendorSha256 = "sha256-8L4q0IAvmNk5GCAC5agNfWFtokIkddO1Dec4m6/sWfg=";
+
+  meta = with lib; {
+    description = "The best way to tail AWS CloudWatch Logs from your terminal";
+    homepage = "https://github.com/lucagrulla/cw";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ onthestairs ];
+  };
+}