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

24 lines
557 B
Nix
Raw Normal View History

{ lib, 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 lib; {
description = "Kafka command line tool";
homepage = "https://github.com/fgeller/kt";
maintainers = with maintainers; [ utdemir ];
platforms = with platforms; unix;
license = licenses.mit;
};
}