32 lines
991 B
Nix
32 lines
991 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kafkactl";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deviceinsight";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cCAmqiriiNSEpo5fHLPsarmLLhBE9QILa9xFNLlCorM=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-Y0Muihh9S8g3SLH12jw1MYyq5mpbrTJWJu4cSNTCqmE=";
|
|
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;
|
|
};
|
|
}
|