chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ot / oterm / package.nix
blob9530d7a9e8660e9704242896df8808cd201ec5fc
2   lib,
3   python3Packages,
4   fetchFromGitHub,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "oterm";
9   version = "0.4.2";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "ggozad";
14     repo = "oterm";
15     rev = "refs/tags/${version}";
16     hash = "sha256-0wiUqpjCHGHOuJJaDzpmMGtCBgUI5Sk29DrOgbLj018=";
17   };
19   pythonRelaxDeps = [
20     "aiosqlite"
21     "httpx"
22     "ollama"
23     "packaging"
24     "pillow"
25     "textual"
26     "typer"
27   ];
29   build-system = with python3Packages; [ poetry-core ];
32   dependencies = with python3Packages; [
33     aiohttp
34     aiosql
35     aiosqlite
36     httpx
37     ollama
38     packaging
39     pillow
40     pyperclip
41     python-dotenv
42     rich-pixels
43     textual
44     typer
45   ];
47   pythonImportsCheck = [ "oterm" ];
49   # Tests require a HTTP connection to ollama
50   doCheck = false;
52   meta = {
53     description = "Text-based terminal client for Ollama";
54     homepage = "https://github.com/ggozad/oterm";
55     changelog = "https://github.com/ggozad/oterm/releases/tag/${version}";
56     license = lib.licenses.mit;
57     maintainers = with lib.maintainers; [ suhr ];
58     mainProgram = "oterm";
59   };