add ai mailer

This commit is contained in:
2025-03-02 03:41:42 +01:00
parent 3b043eaf6d
commit 9cfc423a38
9 changed files with 144 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ self: super: {
ykfde = (super.callPackage ../pkgs/ykfde { });
creality-print = (super.callPackage ../pkgs/creality-print.nix { });
openaudible = (super.callPackage ../pkgs/openaudible.nix { });
ai-mailer = self.callPackage ../pkgs/ai-mailer.nix { };
# vscode-insiders = (super.callPackage ../pkgs/vscode-insiders.nix { });
}

25
utils/pkgs/ai-mailer.nix Normal file
View File

@@ -0,0 +1,25 @@
{ lib, buildGoModule, fetchgit }:
buildGoModule rec {
pname = "ai-mailer";
version = "0.1.0";
src = fetchgit {
url = "https://git.cloonar.com/Paraclub/ai-mailer.git";
rev = "be9f2fea8fb37182ca983061c40e30eecb48286b";
sha256 = "sha256-Df1ioHnlhALaliPW2/x1PhR7od/I/RqU8o8YpoI5jiY=";
};
vendorHash = "sha256-h4RaB891GXAkgObZHYil6BOvbYp6yJSRxRj40Fhchmw=";
preBuild = ''
sed -i 's/go 1.23.5/go 1.22/' go.mod
'';
meta = with lib; {
description = "AI Mail Assistant Service";
homepage = "https://git.cloonar.com/Paraclub/ai-mailer";
license = licenses.unfree; # Adjust based on your project's license
maintainers = [ ];
};
}