about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/tailspin/default.nix
blob: 6e43219cf28abd00566e25a82bd8d1948d2abe8c (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.1";

  src = fetchFromGitHub {
    owner = "bensadeh";
    repo = pname;
    rev = version;
    sha256 = "sha256-f9VfOcLOWJ4yr/CS0lqaqiaTfzOgdoI9CaS70AMNdsc=";
  };

  vendorHash = "sha256-gn7/pFw7JEhkkd/PBP4jLUKb5NBaRE/rb049Ic/Bu7A=";

  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";
  };
}