nixpkgs/pkgs/servers/kubemq-community/default.nix

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

28 lines
757 B
Nix
Raw Normal View History

2022-03-11 11:46:32 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubemq-community";
2022-10-29 19:37:24 +00:00
version = "2.3.4";
2022-03-11 11:46:32 +00:00
src = fetchFromGitHub {
owner = "kubemq-io";
repo = pname;
rev = "v${version}";
2022-10-29 19:37:24 +00:00
sha256 = "sha256-+HJpjKMSndcV+xQJM+FesdtoUSGHnpILQFuf3sbxBY0=";
2022-03-11 11:46:32 +00:00
};
CGO_ENABLED=0;
ldflags=[ "-w" "-s" "-X main.version=${version}" ];
doCheck = false; # grpc tests are flaky
2022-10-11 21:36:49 +00:00
vendorSha256 = "sha256-mie+Akfsn+vjoxYnI23Zxk0OTFbMf51BDbJk2c0U7iU=";
2022-03-11 11:46:32 +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 ];
};
}