Merge pull request #254667 from Mic92/matrix-hook
matrix-hook: init at 1.0.0
This commit is contained in:
commit
f8345c3e0d
23
pkgs/by-name/ma/matrix-hook/package.nix
Normal file
23
pkgs/by-name/ma/matrix-hook/package.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "matrix-hook";
|
||||
version = "1.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pinpox";
|
||||
repo = "matrix-hook";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YmDsibVlAWLEG5QcqDImVb6RJfrfW6zrFnOEMO3Zxcw=";
|
||||
};
|
||||
vendorHash = "sha256-185Wz9IpJRBmunl+KGj/iy37YeszbT3UYzyk9V994oQ=";
|
||||
postInstall = ''
|
||||
install message.html.tmpl -Dt $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple webhook for matrix";
|
||||
homepage = "https://github.com/pinpox/matrix-hook";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ pinpox mic92 zowoq ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue