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
758 B
Nix
Raw Normal View History

2022-03-11 11:46:32 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubemq-community";
2022-07-28 18:49:08 +00:00
version = "2.2.13";
2022-03-11 11:46:32 +00:00
src = fetchFromGitHub {
owner = "kubemq-io";
repo = pname;
rev = "v${version}";
2022-07-28 18:49:08 +00:00
sha256 = "sha256-YeFSea6aCNH+v3AKqiG8BY4u7/enmOPlEybkz6RwU8w=";
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-07-28 18:49:08 +00:00
vendorSha256 = "sha256-pRbYNR3z4KdA9pdthX8a3FZ0LNyvoT+PR+6OinDGF2g=";
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 ];
};
}