nixpkgs/pkgs/development/tools/kaf/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
649 B
Nix

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