20 lines
392 B
Nix
20 lines
392 B
Nix
{ lib
|
|
, buildGoModule
|
|
, pkgs
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "matrix-alertmanager-receiver";
|
|
version = "0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fleaz";
|
|
repo = "matrix-alertmanager-receiver";
|
|
hash = "sha256-FPs9V8LI0s/42nadnCeB336mATSkfGpgLFwtnYpoHhM=";
|
|
rev = "v${version}";
|
|
};
|
|
|
|
vendorHash = "sha256-KAhu4L4c8PpIWj/XLgED/HGI6/NVZiKhaI2ZVCJtONA=";
|
|
}
|