changes
This commit is contained in:
@@ -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";
|
||||
|
||||
43
utils/pkgs/openmanus.nix
Normal file
43
utils/pkgs/openmanus.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python312
|
||||
, python312Packages
|
||||
}:
|
||||
|
||||
python312Packages.buildPythonApplication rec {
|
||||
pname = "openmanus";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mannaandpoem";
|
||||
repo = "OpenManus";
|
||||
rev = "74f438bde38a47da884ba5de2d20960aa9a57990";
|
||||
sha256 = "sha256-zO2UgMxMvE7yk7ILsYnxjBuXrhqlLK42rZNYrxljcg4="; # Replace with actual hash after first build attempt
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python312Packages; [
|
||||
openai
|
||||
python-dotenv
|
||||
requests
|
||||
tomli
|
||||
pydantic
|
||||
pydantic-settings
|
||||
numpy
|
||||
tqdm
|
||||
pillow
|
||||
fastapi
|
||||
uvicorn
|
||||
gradio
|
||||
colorlog
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenManus - An open-source framework for building general AI agents";
|
||||
homepage = "https://github.com/mannaandpoem/OpenManus";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "openmanus";
|
||||
};
|
||||
}
|
||||
@@ -9,10 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vscode-insiders";
|
||||
version = "1.87.0-1708777035";
|
||||
# version = "1.98.2-1708777035";
|
||||
version = "1.98.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://az764295.vo.msecnd.net/insider/9319989589821514c6d3dea07e90292d59431d35/code-insider-${version}-linux-x64.tar.gz";
|
||||
# url = "https://az764295.vo.msecnd.net/insider/9319989589821514c6d3dea07e90292d59431d35/code-insider-${version}-linux-x64.tar.gz";
|
||||
# url = "https://az764295.vo.msecnd.net/insider/2bdf282f0aa8f3022a0540949724ccf8a909ec45/code-insider-${version}-linux-x64.tar.gz";
|
||||
url = "https://update.code.visualstudio.com/${version}/linux-x64/stable";
|
||||
hash = "sha256-Mm34T2/laoqxN8MR+H0rHxxA0WAKgc5d/ZvGGC+ETok=";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user