Merge pull request #145360 from eskytthe/topicctl
topicctl: init at 1.1.1
This commit is contained in:
commit
a48d660499
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/misc/topicctl/default.nix
Normal file
31
pkgs/tools/misc/topicctl/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "topicctl";
|
||||||
|
version = "1.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "segmentio";
|
||||||
|
repo = "topicctl";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-LsMt2BHfO0I5N2C247fmoOgQ5EXMgk/3Kj/lI+vTRV0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-ur7qMm7l1CocQwX58fTL1PpdgIEJyRAzSlNJM1WTvM0=";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -984,6 +984,8 @@ with pkgs;
|
||||||
|
|
||||||
tnat64 = callPackage ../tools/networking/tnat64 { };
|
tnat64 = callPackage ../tools/networking/tnat64 { };
|
||||||
|
|
||||||
|
topicctl = callPackage ../tools/misc/topicctl { };
|
||||||
|
|
||||||
veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };
|
veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };
|
||||||
|
|
||||||
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { };
|
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { };
|
||||||
|
|
Loading…
Reference in a new issue