about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/admin/cw/default.nix
blob: d60db14bd3567ab2a51833c5a1806afebe87e834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "cw";
  version = "4.1.1";

  src = fetchFromGitHub {
    owner = "lucagrulla";
    repo = "cw";
    rev = "v${version}";
    sha256 = "sha256-JsWwvVEr7kSjUy0S6wVcn24Xyo4OHr5/uqmnjw6v+RI=";
  };

  vendorHash = "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 ];
  };
}