From de0f59ea3782a272b7b76620cfb73d172786aa99 Mon Sep 17 00:00:00 2001 From: David Costa Date: Mon, 28 Mar 2022 14:03:00 +0200 Subject: [PATCH] kaf: init at 0.1.44 (#164175) --- pkgs/development/tools/kaf/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/kaf/default.nix diff --git a/pkgs/development/tools/kaf/default.nix b/pkgs/development/tools/kaf/default.nix new file mode 100644 index 000000000000..feb76c2a0b25 --- /dev/null +++ b/pkgs/development/tools/kaf/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "kaf"; + version = "0.1.44"; + + src = fetchFromGitHub { + owner = "birdayz"; + repo = "kaf"; + rev = "v${version}"; + sha256 = "sha256-gKg/iESUXS6l3v5ovdvvrfpvaUzahPtqh0/DH5OpXoY="; + }; + + vendorSha256 = "sha256-5WzREsQdcp9lelKUEXw+nHeemHBDsKrvRcG9v+qln/E="; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99c2b210132f..fe0d557fb08c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34940,6 +34940,8 @@ with pkgs; sentencepiece = callPackage ../development/libraries/sentencepiece {}; + kaf = callPackage ../development/tools/kaf { }; + kcli = callPackage ../development/tools/kcli { }; pxlib = callPackage ../development/libraries/pxlib {};