about summary refs log tree commit diff
path: root/pkgs/tools/misc/tailspin/default.nix
blob: 741f7bcf2c1b1fe1ed2795e37531e7994576795b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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";
  };
}