Loading pkgs/by-name/ma/matrix-alertmanager-receiver/package.nix +18 −10 Original line number Diff line number Diff line { lib, buildGo124Module, buildGoModule, fetchFromGitHub, versionCheckHook, nix-update-script, }: buildGo124Module rec { buildGoModule (finalAttrs: { pname = "matrix-alertmanager-receiver"; version = "2025.5.21"; version = "2025.7.2"; src = fetchFromGitHub { owner = "metio"; repo = "matrix-alertmanager-receiver"; tag = version; hash = "sha256-W0dvaJ1o43un5UskAmpKomZjIHiclOoiOkxGawP0fyk="; tag = finalAttrs.version; hash = "sha256-Dz2oP3lNxO75Lqmke0WprvI1yuuQIv3HffNxMYCSJso="; }; vendorHash = "sha256-ZM7qA73fPPRgs378uDQoYs32e7i8LmBjqZ7RjzWEW28="; vendorHash = "sha256-+tkxK3h6N45XA4OvdNYrRFNbqJLGflY2v8oF36Gpwm4="; env.CGO_ENABLED = "0"; ldflags = [ "-s" "-w" "-X main.matrixAlertmanagerReceiverVersion=${version}" "-X main.matrixAlertmanagerReceiverVersion=${finalAttrs.version}" ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { updateScript = nix-update-script { }; Loading @@ -31,9 +39,9 @@ buildGo124Module rec { meta = { description = "Alertmanager client that forwards alerts to a Matrix room"; homepage = "https://github.com/metio/matrix-alertmanager-receiver"; changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${version}"; changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ liberodark ]; mainProgram = "matrix-alertmanager-receiver"; }; } }) Loading
pkgs/by-name/ma/matrix-alertmanager-receiver/package.nix +18 −10 Original line number Diff line number Diff line { lib, buildGo124Module, buildGoModule, fetchFromGitHub, versionCheckHook, nix-update-script, }: buildGo124Module rec { buildGoModule (finalAttrs: { pname = "matrix-alertmanager-receiver"; version = "2025.5.21"; version = "2025.7.2"; src = fetchFromGitHub { owner = "metio"; repo = "matrix-alertmanager-receiver"; tag = version; hash = "sha256-W0dvaJ1o43un5UskAmpKomZjIHiclOoiOkxGawP0fyk="; tag = finalAttrs.version; hash = "sha256-Dz2oP3lNxO75Lqmke0WprvI1yuuQIv3HffNxMYCSJso="; }; vendorHash = "sha256-ZM7qA73fPPRgs378uDQoYs32e7i8LmBjqZ7RjzWEW28="; vendorHash = "sha256-+tkxK3h6N45XA4OvdNYrRFNbqJLGflY2v8oF36Gpwm4="; env.CGO_ENABLED = "0"; ldflags = [ "-s" "-w" "-X main.matrixAlertmanagerReceiverVersion=${version}" "-X main.matrixAlertmanagerReceiverVersion=${finalAttrs.version}" ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { updateScript = nix-update-script { }; Loading @@ -31,9 +39,9 @@ buildGo124Module rec { meta = { description = "Alertmanager client that forwards alerts to a Matrix room"; homepage = "https://github.com/metio/matrix-alertmanager-receiver"; changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${version}"; changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ liberodark ]; mainProgram = "matrix-alertmanager-receiver"; }; } })