meowlnir: init at 0.2.0

https://github.com/maunium/meowlnir/releases/tag/v0.2.0
Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
Sumner Evans
2025-03-03 12:29:58 -07:00
parent ddd7790c20
commit 0649f7a9cc
+39
View File
@@ -0,0 +1,39 @@
{
lib,
buildGoModule,
fetchFromGitHub,
olm,
nix-update-script,
versionCheckHook,
}:
buildGoModule rec {
pname = "meowlnir";
version = "0.2.0";
src = fetchFromGitHub {
owner = "maunium";
repo = "meowlnir";
tag = "v${version}";
hash = "sha256-Fzi9KI6bPrmKMku176rAnLpfVcAjYlKUQ8MiSQB9hpU=";
};
buildInputs = [ olm ];
vendorHash = "sha256-G1+KDssamPRFlGs/moBk0qJDT/IctiKgnM+mVfCDMwg=";
doCheck = true;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/maunium/meowlnir";
description = "Opinionated Matrix moderation bot";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ sumnerevans ];
mainProgram = "meowlnir";
};
}