overlay/matrix-alertmanager-receiver/default.nix

20 lines
392 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, pkgs
, fetchFromGitHub
}:
buildGoModule rec {
pname = "matrix-alertmanager-receiver";
2024-03-29 17:35:45 +00:00
version = "0.2";
src = fetchFromGitHub {
owner = "fleaz";
repo = "matrix-alertmanager-receiver";
2024-03-29 17:35:45 +00:00
hash = "sha256-FPs9V8LI0s/42nadnCeB336mATSkfGpgLFwtnYpoHhM=";
rev = "v${version}";
};
2024-03-29 17:35:45 +00:00
vendorHash = "sha256-KAhu4L4c8PpIWj/XLgED/HGI6/NVZiKhaI2ZVCJtONA=";
}