nixpkgs/pkgs/development/tools/kafkactl/default.nix
2022-11-10 21:10:55 +08:00

33 lines
991 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kafkactl";
version = "3.0.1";
src = fetchFromGitHub {
owner = "deviceinsight";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lwyM2l4eBCtkyAtG51cEy29Jw/vakjrfYVBSZ9pIBFs=";
};
vendorSha256 = "sha256-ba7amhYuCB3k1esu1qYBCgUZMjlq5iac498TMqeGuz0=";
doCheck = false;
meta = with lib; {
inherit (src.meta) homepage;
description = "Command Line Tool for managing Apache Kafka";
longDescription = ''
A command-line interface for interaction with Apache Kafka.
Features:
- command auto-completion for bash, zsh, fish shell including dynamic completion for e.g. topics or consumer groups
- support for avro schemas
- Configuration of different contexts
- directly access kafka clusters inside your kubernetes cluster
'';
license = licenses.asl20;
maintainers = with maintainers; [ grburst ];
platforms = platforms.unix;
};
}