Loading pkgs/by-name/ot/oterm/package.nix +18 −4 Original line number Diff line number Diff line { lib, stdenv, python3Packages, fetchFromGitHub, versionCheckHook, nix-update-script, }: python3Packages.buildPythonApplication rec { pname = "oterm"; version = "0.9.3"; version = "0.11.1"; pyproject = true; src = fetchFromGitHub { owner = "ggozad"; repo = "oterm"; tag = version; hash = "sha256-2zzDVUZc+H2tBO5scRUjwz859uaQIbpvCaC0bm4B7NM="; hash = "sha256-b/+siNzmM6RUJ3jv/2dNJJFueejChKde0D5r8J0lTqM="; }; pythonRelaxDeps = [ Loading @@ -23,6 +26,7 @@ python3Packages.buildPythonApplication rec { "ollama" "packaging" "pillow" "pydantic" "textual" "typer" ]; Loading @@ -43,14 +47,24 @@ python3Packages.buildPythonApplication rec { python-dotenv rich-pixels textual textual-image textualeffects typer ]; pythonImportsCheck = [ "oterm" ]; # Tests require a HTTP connection to ollama doCheck = false; # Python tests require a HTTP connection to ollama # Fails on darwin with: PermissionError: [Errno 1] Operation not permitted: '/var/empty/Library' nativeCheckInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ versionCheckHook ]; versionCheckProgramArg = "--version"; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Text-based terminal client for Ollama"; Loading Loading
pkgs/by-name/ot/oterm/package.nix +18 −4 Original line number Diff line number Diff line { lib, stdenv, python3Packages, fetchFromGitHub, versionCheckHook, nix-update-script, }: python3Packages.buildPythonApplication rec { pname = "oterm"; version = "0.9.3"; version = "0.11.1"; pyproject = true; src = fetchFromGitHub { owner = "ggozad"; repo = "oterm"; tag = version; hash = "sha256-2zzDVUZc+H2tBO5scRUjwz859uaQIbpvCaC0bm4B7NM="; hash = "sha256-b/+siNzmM6RUJ3jv/2dNJJFueejChKde0D5r8J0lTqM="; }; pythonRelaxDeps = [ Loading @@ -23,6 +26,7 @@ python3Packages.buildPythonApplication rec { "ollama" "packaging" "pillow" "pydantic" "textual" "typer" ]; Loading @@ -43,14 +47,24 @@ python3Packages.buildPythonApplication rec { python-dotenv rich-pixels textual textual-image textualeffects typer ]; pythonImportsCheck = [ "oterm" ]; # Tests require a HTTP connection to ollama doCheck = false; # Python tests require a HTTP connection to ollama # Fails on darwin with: PermissionError: [Errno 1] Operation not permitted: '/var/empty/Library' nativeCheckInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ versionCheckHook ]; versionCheckProgramArg = "--version"; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Text-based terminal client for Ollama"; Loading