nixpkgs/pkgs/development/tools/kaf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
649 B
Nix
Raw Normal View History

2022-03-28 12:03:00 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kaf";
2024-03-13 00:27:29 +00:00
version = "0.2.8";
2022-03-28 12:03:00 +00:00
src = fetchFromGitHub {
owner = "birdayz";
repo = "kaf";
rev = "v${version}";
2024-03-13 00:27:29 +00:00
hash = "sha256-12xPBBLV0jtQQI/inNlWTFBZtYBF0GF1GoD1kv1/thQ=";
2022-03-28 12:03:00 +00:00
};
2024-03-13 00:27:29 +00:00
vendorHash = "sha256-otKz8ECSb2N3vwU5c1+u7zGvXU4iRvQWWggw9WwG78c=";
2022-03-28 12:03:00 +00:00
# Many tests require a running Kafka instance
doCheck = false;
meta = with lib; {
description = "Modern CLI for Apache Kafka, written in Go";
mainProgram = "kaf";
2022-03-28 12:03:00 +00:00
homepage = "https://github.com/birdayz/kaf";
license = licenses.asl20;
maintainers = with maintainers; [ zarelit ];
};
}