oterm: 0.1.22 -> 0.2.4

This commit is contained in:
Pol Dellaiera 2024-03-26 10:32:28 +01:00
parent 73eadf8772
commit ba9407f1bc
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -5,22 +5,25 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "oterm"; pname = "oterm";
version = "0.1.22"; version = "0.2.4";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ggozad"; owner = "ggozad";
repo = "oterm"; repo = "oterm";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-hRbPlRuwM3NspTNd3mPhVxPJl8zA9qyFwDGNKH3Slag="; hash = "sha256-p0ns+8qmcyX4gcg0CfYdDMn1Ie0atVBuQbVQoDRQ9+c=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
"aiosqlite" "aiosqlite"
"pillow" "pillow"
"httpx" "httpx"
"packaging"
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
ollama
textual textual
typer typer
python-dotenv python-dotenv
@ -46,12 +49,12 @@ python3Packages.buildPythonApplication rec {
# Tests require a HTTP connection to ollama # Tests require a HTTP connection to ollama
doCheck = false; doCheck = false;
meta = with lib; { meta = {
changelog = "https://github.com/ggozad/oterm/releases/tag/${version}";
description = "A text-based terminal client for Ollama"; description = "A text-based terminal client for Ollama";
homepage = "https://github.com/ggozad/oterm"; homepage = "https://github.com/ggozad/oterm";
changelog = "https://github.com/ggozad/oterm/releases/tag/${version}"; license = lib.licenses.mit;
license = licenses.mit;
maintainers = with maintainers; [ suhr ];
mainProgram = "oterm"; mainProgram = "oterm";
maintainers = with lib.maintainers; [ suhr ];
}; };
} }