about summary refs log tree commit diff
path: root/pkgs/tools/misc/kt/default.nix
blob: 738eceb20a0ebec8193546e4984132bd5079bd99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  name = "kt-${version}";
  version = "11.1.0";

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

  goPackagePath = "github.com/fgeller/kt";

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