2022-04-16 02:08:15 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2017-04-03 03:54:04 +00:00
|
|
|
|
2022-04-16 02:08:15 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "kt";
|
2022-04-16 02:08:15 +00:00
|
|
|
version = "13.1.0";
|
2017-04-03 03:54:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fgeller";
|
|
|
|
repo = "kt";
|
|
|
|
rev = "v${version}";
|
2022-04-16 02:08:15 +00:00
|
|
|
sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc=";
|
2017-04-03 03:54:04 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw=";
|
2022-04-16 02:08:15 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
doCheck = false;
|
2017-04-03 03:54:04 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-04-03 03:54:04 +00:00
|
|
|
description = "Kafka command line tool";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/fgeller/kt";
|
2017-04-03 03:54:04 +00:00
|
|
|
maintainers = with maintainers; [ utdemir ];
|
|
|
|
platforms = with platforms; unix;
|
2018-09-11 21:40:43 +00:00
|
|
|
license = licenses.mit;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "kt";
|
2017-04-03 03:54:04 +00:00
|
|
|
};
|
|
|
|
}
|