1{ lib
2, python3
3, fetchFromGitHub
4, nix-update-script
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "gorilla-cli";
9 version = "0.0.9";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "gorilla-llm";
14 repo = "gorilla-cli";
15 rev = version;
16 hash = "sha256-3h3QtBDKswTDL7zNM2C4VWiGCqknm/bxhP9sw4ieIcQ=";
17 };
18
19 disabled = python3.pythonOlder "3.6";
20
21 propagatedBuildInputs = with python3.pkgs; [
22 requests
23 halo
24 prompt-toolkit
25 ];
26
27 passthru.updateScript = nix-update-script { };
28
29 # no tests
30 doCheck = false;
31
32 meta = with lib; {
33 description = "LLMs for your CLI";
34 homepage = "https://github.com/gorilla-llm/gorilla-cli";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ happysalada ];
37 mainProgram = "gorilla";
38 };
39}