mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
666 B
Nix
25 lines
666 B
Nix
{ 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 = "Simple webhook for matrix";
|
|
mainProgram = "matrix-hook";
|
|
homepage = "https://github.com/pinpox/matrix-hook";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ pinpox mic92 zowoq ];
|
|
};
|
|
}
|