matrix-alertmanager-receiver: 2025.2.19 -> 2025.3.5 (#388464)

This commit is contained in:
Wolfgang Walther
2025-03-16 13:02:05 +00:00
committed by GitHub
@@ -1,34 +1,27 @@
{
lib,
buildGoModule,
buildGo124Module,
fetchFromGitHub,
go_1_24,
pkg-config,
nix-update-script,
}:
buildGoModule.override { go = go_1_24; } rec {
buildGo124Module rec {
pname = "matrix-alertmanager-receiver";
version = "2025.2.19";
version = "2025.3.5";
src = fetchFromGitHub {
owner = "metio";
repo = "matrix-alertmanager-receiver";
tag = version;
hash = "sha256-mzWxAR82tD5zbviAjRFyBLZSpaETti85kzolWRmhx1o=";
hash = "sha256-psA+tgykqnwB6Y1oQqqEQGNP4wLnEcelHF3dKFqKHtg=";
};
vendorHash = "sha256-lRZGnkcdQtU9ecM6ezm97YtMzC/65yEgzJ99iKWY4QY=";
nativeBuildInputs = [
pkg-config
];
env.CGO_ENABLED = "0";
vendorHash = "sha256-KsrDnnsLJV5bLVKeC3ytKdBCsEBWEbs9AciUjItwDwo=";
ldflags = [
"-s"
"-w"
"-X main.matrixAlertmanagerReceiverVersion=${version}"
];
passthru = {