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