about summary refs log tree commit diff
path: root/pkgs/tools/misc/tcat/default.nix
blob: 5afa7e83affaaeedfdb2167be12e9fa80a53d7c1 (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 = "tcat";
  version = "1.0.0";
  src = fetchFromGitHub {
    owner = "rsc";
    repo = pname;
    rev = "v${version}";
    sha256 = "1szzfz5xsx9l8gjikfncgp86hydzpvsi0y5zvikd621xkp7g7l21";
  };
  vendorHash = null;
  subPackages = ".";

  meta = with lib; {
    description = "Table cat";
    homepage = "https://github.com/rsc/tcat";
    maintainers = with maintainers; [ mmlb ];
    license = licenses.bsd3;
    mainProgram = "tcat";
  };
}