python311Packages.open-interpreter: init at 0.2.0

This commit is contained in:
Malo Bourgon 2024-01-17 12:34:45 -08:00
parent 7f5dd771e5
commit 2564922665
3 changed files with 32 additions and 7 deletions

View file

@ -1,14 +1,37 @@
{ lib { lib
, python3
, fetchFromGitHub , fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pythonRelaxDepsHook
, poetry-core
, appdirs
, astor
, inquirer
, litellm
, pyyaml
, rich
, six
, tiktoken
, tokentrim
, wget
, psutil
, html2image
, ipykernel
, jupyter-client
, matplotlib
, toml
, posthog
, openai
, setuptools
}: }:
python3.pkgs.buildPythonApplication rec { buildPythonPackage rec {
pname = "open-interpreter"; pname = "open-interpreter";
version = "0.2.0"; version = "0.2.0";
pyproject = true; pyproject = true;
disabled = python3.pkgs.pythonOlder "3.9"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "KillianLucas"; owner = "KillianLucas";
@ -27,11 +50,11 @@ python3.pkgs.buildPythonApplication rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
python3.pkgs.poetry-core poetry-core
python3.pkgs.pythonRelaxDepsHook pythonRelaxDepsHook
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = [
appdirs appdirs
astor astor
inquirer inquirer

View file

@ -11587,7 +11587,7 @@ with pkgs;
open-ecard = callPackage ../tools/security/open-ecard { }; open-ecard = callPackage ../tools/security/open-ecard { };
open-interpreter = callPackage ../tools/llm/open-interpreter { }; open-interpreter = with python3Packages; toPythonApplication open-interpreter;
openjade = callPackage ../tools/text/sgml/openjade { }; openjade = callPackage ../tools/text/sgml/openjade { };

View file

@ -8657,6 +8657,8 @@ self: super: with self; {
open-garage = callPackage ../development/python-modules/open-garage { }; open-garage = callPackage ../development/python-modules/open-garage { };
open-interpreter = callPackage ../development/python-modules/open-interpreter { };
open-meteo = callPackage ../development/python-modules/open-meteo { }; open-meteo = callPackage ../development/python-modules/open-meteo { };
openai-triton = callPackage ../development/python-modules/openai-triton { openai-triton = callPackage ../development/python-modules/openai-triton {