depot/third_party/nixpkgs/pkgs/servers/kubemq-community/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

27 lines
758 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubemq-community";
version = "2.2.13";
src = fetchFromGitHub {
owner = "kubemq-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YeFSea6aCNH+v3AKqiG8BY4u7/enmOPlEybkz6RwU8w=";
};
CGO_ENABLED=0;
ldflags=[ "-w" "-s" "-X main.version=${version}" ];
doCheck = false; # grpc tests are flaky
vendorSha256 = "sha256-pRbYNR3z4KdA9pdthX8a3FZ0LNyvoT+PR+6OinDGF2g=";
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 ];
};
}