about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/kt/default.nix
blob: 3e9bac0e09e9caa86d9c1ac282f988c1f6dad7b8 (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
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "kt";
  version = "13.1.0";

  src = fetchFromGitHub {
    owner = "fgeller";
    repo = "kt";
    rev = "v${version}";
    sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc=";
  };

  vendorSha256 = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw=";

  ldflags = [ "-s" "-w" ];

  doCheck = false;

  meta = with lib; {
    description = "Kafka command line tool";
    homepage = "https://github.com/fgeller/kt";
    maintainers = with maintainers; [ utdemir ];
    platforms = with platforms; unix;
    license = licenses.mit;
  };
}