This commit is contained in:
2025-04-25 20:35:33 +02:00
parent 9cfc423a38
commit 9a5a28098c
36 changed files with 453 additions and 51 deletions

View File

@@ -6,16 +6,23 @@ buildGoModule rec {
src = fetchgit {
url = "https://git.cloonar.com/Paraclub/ai-mailer.git";
rev = "be9f2fea8fb37182ca983061c40e30eecb48286b";
sha256 = "sha256-Df1ioHnlhALaliPW2/x1PhR7od/I/RqU8o8YpoI5jiY=";
rev = "8903aa072a482e1e52170c840bf87d8da5d9d9e0";
sha256 = "sha256-+YPB3tcy2+ZiiwYfg6QzPcrg1gf9ivlLaZRzviwWe90=";
};
vendorHash = "sha256-h4RaB891GXAkgObZHYil6BOvbYp6yJSRxRj40Fhchmw=";
subPackages = [ "cmd/paraclub-ai-mailer" ];
preBuild = ''
sed -i 's/go 1.23.5/go 1.22/' go.mod
'';
postInstall = ''
mv $out/bin/paraclub-ai-mailer $out/bin/ai-mailer
ln -s $out/bin/ai-mailer $out/bin/paraclub-ai-mailer
'';
meta = with lib; {
description = "AI Mail Assistant Service";
homepage = "https://git.cloonar.com/Paraclub/ai-mailer";