From ac2b5954c35a6b7a429d518cc8a906158532ee9d Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Sat, 17 Aug 2024 09:13:42 -0700 Subject: [PATCH] ntfy-alertmanager: init at 0.3.0 --- pkgs/by-name/nt/ntfy-alertmanager/package.nix | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/nt/ntfy-alertmanager/package.nix diff --git a/pkgs/by-name/nt/ntfy-alertmanager/package.nix b/pkgs/by-name/nt/ntfy-alertmanager/package.nix new file mode 100644 index 000000000000..f90edac4745d --- /dev/null +++ b/pkgs/by-name/nt/ntfy-alertmanager/package.nix @@ -0,0 +1,27 @@ +{ + buildGoModule, + fetchurl, + lib, +}: + +buildGoModule rec { + pname = "ntfy-alertmanager"; + version = "0.3.0"; + + src = fetchurl { + url = "https://git.xenrox.net/~xenrox/ntfy-alertmanager/refs/download/v${version}/ntfy-alertmanager-${version}.tar.gz"; + hash = "sha256-8VDHeK77dcbATSFfqknlhMSP93OlDNmkzRJxLN4rCVE="; + }; + + vendorHash = "sha256-WKImEc7FvZm/6noC2+Lz4g+ASFEuRBE8nzTEDbXaWic="; + + meta = with lib; { + description = "A bridge between ntfy and Alertmanager."; + homepage = "https://git.xenrox.net/~xenrox/ntfy-alertmanager"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ + bleetube + fpletz + ]; + }; +}