43 lines
930 B
Nix
43 lines
930 B
Nix
{ 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";
|
|
};
|
|
} |