2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kafkactl";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "3.0.1";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deviceinsight";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-lwyM2l4eBCtkyAtG51cEy29Jw/vakjrfYVBSZ9pIBFs=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
vendorSha256 = "sha256-ba7amhYuCB3k1esu1qYBCgUZMjlq5iac498TMqeGuz0=";
|
2022-09-09 14:08:57 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|