depot/third_party/nixpkgs/pkgs/tools/misc/kt/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

28 lines
645 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kt";
version = "13.1.0";
src = fetchFromGitHub {
owner = "fgeller";
repo = "kt";
rev = "v${version}";
sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc=";
};
vendorHash = "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;
mainProgram = "kt";
};
}