mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 14:48:14 +00:00
open-interpreter: init at 0.1.2
open-interpreter: 0.1.2 -> 0.1.3
This commit is contained in:
parent
e38bce9d30
commit
bfdce9bcf7
pkgs
52
pkgs/tools/llm/open-interpreter/default.nix
Normal file
52
pkgs/tools/llm/open-interpreter/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
let
|
||||
version = "0.1.3";
|
||||
in
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "open-interpreter";
|
||||
format = "pyproject";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KillianLucas";
|
||||
repo = "open-interpreter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xmmyDIshEYql41k/7gF+ay7s3mI+iGCjr5gDfLkqLU0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
appdirs
|
||||
astor
|
||||
gitpython
|
||||
huggingface-hub
|
||||
inquirer
|
||||
litellm
|
||||
openai
|
||||
# pyreadline3 # this is a windows deps
|
||||
python-dotenv
|
||||
rich
|
||||
six
|
||||
tiktoken
|
||||
tokentrim
|
||||
wget
|
||||
];
|
||||
|
||||
# the import check phase fails trying to do a network request to openai
|
||||
# because of litellm
|
||||
# pythonImportsCheck = [ "interpreter" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenAI's Code Interpreter in your terminal, running locally";
|
||||
homepage = "https://github.com/KillianLucas/open-interpreter";
|
||||
license = licenses.mit;
|
||||
changelog = "https://github.com/KillianLucas/open-interpreter/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
@ -11541,6 +11541,8 @@ with pkgs;
|
||||
|
||||
open-ecard = callPackage ../tools/security/open-ecard { };
|
||||
|
||||
open-interpreter = callPackage ../tools/llm/open-interpreter { };
|
||||
|
||||
openjade = callPackage ../tools/text/sgml/openjade { };
|
||||
|
||||
openhantek6022 = libsForQt5.callPackage ../applications/science/electronics/openhantek6022 { };
|
||||
|
Loading…
Reference in New Issue
Block a user