e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
32 lines
774 B
Nix
32 lines
774 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "topicctl";
|
|
version = "1.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "segmentio";
|
|
repo = "topicctl";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sCjlEG34j8+uDI/W1mzzcrXn0c/B3/ca5N4VL9gKEjc=";
|
|
};
|
|
|
|
vendorHash = "sha256-+mnnvdna1g6JE29weOJZmdO3jFp2a75dV9wK2XcWJ9s=";
|
|
|
|
ldflags = [
|
|
"-X main.BuildVersion=${version}"
|
|
"-X main.BuildCommitSha=unknown"
|
|
"-X main.BuildDate=unknown"
|
|
];
|
|
|
|
# needs a kafka server
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A tool for easy, declarative management of Kafka topics";
|
|
inherit (src.meta) homepage;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ eskytthe srhb ];
|
|
mainProgram = "topicctl";
|
|
};
|
|
}
|