nixpkgs/pkgs/tools/misc/kt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
645 B
Nix
Raw Normal View History

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 {
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
};
vendorHash = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw=";
2022-04-16 02:08:15 +00:00
ldflags = [ "-s" "-w" ];
doCheck = false;
2017-04-03 03:54:04 +00:00
meta = with lib; {
2017-04-03 03:54:04 +00:00
description = "Kafka command line tool";
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
};
}