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

buildGoPackage rec {
  pname = "kt";
  version = "12.1.0";

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

  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;
    license = licenses.mit;
  };
}