nixpkgs/pkgs/tools/misc/kt/default.nix
2020-04-10 17:54:53 +01:00

24 lines
559 B
Nix

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