3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/topicctl/default.nix

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

32 lines
745 B
Nix
Raw Normal View History

2021-11-10 13:54:04 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "topicctl";
2022-02-13 10:40:43 +00:00
version = "1.3.1";
2021-11-10 13:54:04 +00:00
src = fetchFromGitHub {
owner = "segmentio";
repo = "topicctl";
rev = "v${version}";
2022-02-13 10:40:43 +00:00
sha256 = "sha256-hbsVk82iTZGVvypZHhUk/By0sSQxmZQBog2/3qKE94s=";
2021-11-10 13:54:04 +00:00
};
2022-02-13 10:40:43 +00:00
vendorSha256 = "sha256-i1ir/aT/jaK//rmH9k/eK4LIRh0OmEytc0mGO7IrpqI=";
2021-11-10 13:54:04 +00:00
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 ];
};
}