2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kafkactl";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "3.5.1";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deviceinsight";
|
|
|
|
repo = pname;
|
2023-03-15 16:39:30 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-HGOLPns7kBq02hF5TVs0DdTdJ+16JGs996JZ66k83Os=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-jUuJBGEb4pSdyuRd3qHINyC8aRwqyJnsb/raM9nEh84=";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-03-15 16:39:30 +00:00
|
|
|
homepage = "https://github.com/deviceinsight/kafkactl";
|
|
|
|
changelog = "https://github.com/deviceinsight/kafkactl/blob/v${version}/CHANGELOG.md";
|
2022-09-09 14:08:57 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|