natsukium 2023-10-07 09:43:57 +09:00 committed by Yt
parent b38c501b20
commit db4cd6547a

View file

@ -1,9 +1,10 @@
{ lib { lib
, python3 , python3
, fetchFromGitHub , fetchFromGitHub
, semgrep
}: }:
let let
version = "0.1.4"; version = "0.1.7";
in in
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "open-interpreter"; pname = "open-interpreter";
@ -14,7 +15,7 @@ python3.pkgs.buildPythonApplication {
owner = "KillianLucas"; owner = "KillianLucas";
repo = "open-interpreter"; repo = "open-interpreter";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3a4pRV8o+NBZGgOuXng97KjRVU8xVqBp+B9sXsCqHtk="; hash = "sha256-U+GKvlFY9vkjXaPI0H5RsoMFLlLq1+IuSy/cOj/LNSw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,11 +32,15 @@ python3.pkgs.buildPythonApplication {
openai openai
# pyreadline3 # this is a windows deps # pyreadline3 # this is a windows deps
python-dotenv python-dotenv
pyyaml
rich rich
six six
tiktoken tiktoken
tokentrim tokentrim
wget wget
yaspin
] ++ [
semgrep
]; ];
# the import check phase fails trying to do a network request to openai # the import check phase fails trying to do a network request to openai