diff options
author | happysalada <raphael@megzari.com> | 2023-07-23 12:37:09 +0900 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-07-23 08:05:39 +0000 |
commit | 6191e68413770c7dd71ba7669e00a50eddf5cd79 (patch) | |
tree | 9cf5f0ff2ee0ed01ed99a0c60f17d6abd8632bf0 /pkgs/tools/llm | |
parent | 33916d2336f5015edcded834ecaabf4b0fc485c6 (diff) | |
download | nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar.gz nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar.bz2 nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar.lz nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar.xz nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.tar.zst nixlib-6191e68413770c7dd71ba7669e00a50eddf5cd79.zip |
gorilla-cli: init at 0.0.9
Diffstat (limited to 'pkgs/tools/llm')
-rw-r--r-- | pkgs/tools/llm/gorilla-cli/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/llm/gorilla-cli/default.nix b/pkgs/tools/llm/gorilla-cli/default.nix new file mode 100644 index 000000000000..ff5e3468ef91 --- /dev/null +++ b/pkgs/tools/llm/gorilla-cli/default.nix @@ -0,0 +1,38 @@ +{ lib +, python3 +, fetchFromGitHub +, nix-update-script +}: + +python3.pkgs.buildPythonApplication rec { + pname = "gorilla-cli"; + version = "0.0.9"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "gorilla-llm"; + repo = "gorilla-cli"; + rev = version; + hash = "sha256-3h3QtBDKswTDL7zNM2C4VWiGCqknm/bxhP9sw4ieIcQ="; + }; + + disabled = python3.pythonOlder "3.6"; + + propagatedBuildInputs = with python3.pkgs; [ + requests + halo + prompt-toolkit + ]; + + passthru.updateScript = nix-update-script { }; + + # no tests + doCheck = false; + + meta = with lib; { + description = "LLMs for your CLI"; + homepage = "https://github.com/gorilla-llm/gorilla-cli"; + license = licenses.asl20; + maintainers = with maintainers; [ happysalada ]; + }; +} |