2022-03-11 11:47:07 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubemqctl";
|
|
|
|
version = "3.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubemq-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0daqvd1y6b87xvnpdl2k0sa91zdmp48r0pgp6dvnb2l44ml8a4z0";
|
|
|
|
};
|
|
|
|
|
|
|
|
ldflags = [ "-w" "-s" "-X main.version=${version}" ];
|
|
|
|
|
|
|
|
doCheck = false; # TODO tests are failing
|
|
|
|
|
2022-10-24 23:31:29 +00:00
|
|
|
vendorSha256 = null; #vendorSha256 = "";
|
2022-03-11 11:47:07 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kubemq-io/kubemqctl";
|
|
|
|
description = "Kubemqctl is a command line interface (CLI) for Kubemq Kubernetes Message Broker.";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ brianmcgee ];
|
2022-10-24 23:31:29 +00:00
|
|
|
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check
|
2022-03-11 11:47:07 +00:00
|
|
|
};
|
|
|
|
}
|