2022-03-30 09:31:56 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubemq-community";
|
2022-10-06 18:32:54 +00:00
|
|
|
version = "2.3.0";
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubemq-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-06 18:32:54 +00:00
|
|
|
sha256 = "sha256-E4X8srrfbOHV2XmjaXV25WilIjBGPjEGD6BqK7HreoQ=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
CGO_ENABLED=0;
|
|
|
|
|
|
|
|
ldflags=[ "-w" "-s" "-X main.version=${version}" ];
|
|
|
|
|
|
|
|
doCheck = false; # grpc tests are flaky
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
vendorSha256 = "sha256-kvQ5sPMudI75fVIWJkkwXpmVrJysvWcIgpgjyQh19W0=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kubemq-io/kubemq-community";
|
|
|
|
description = "KubeMQ Community is the open-source version of KubeMQ, the Kubernetes native message broker.";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ brianmcgee ];
|
|
|
|
};
|
|
|
|
}
|