26 lines
674 B
Nix
26 lines
674 B
Nix
{ 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 = [ ];
|
|
};
|
|
}
|