mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
623 B
Nix
28 lines
623 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=";
|
|
};
|
|
|
|
vendorSha256 = "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;
|
|
};
|
|
}
|