2022-03-30 09:31:56 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kaf";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.2.3";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "birdayz";
|
|
|
|
repo = "kaf";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-5wSxaryaQ8jXwpzSltMmFRVrvaA9JMSrh8VBCnquLXE=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
vendorSha256 = "sha256-Jpv02h+EeRhVdi/raStTEfHitz0A71dHpWdF/zcVJVU=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
# Many tests require a running Kafka instance
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Modern CLI for Apache Kafka, written in Go";
|
|
|
|
homepage = "https://github.com/birdayz/kaf";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ zarelit ];
|
|
|
|
};
|
|
|
|
}
|