From d95242918a1fe23a9bfc1806a217e29387913b0b Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Thu, 23 Jan 2025 13:38:10 +0000 Subject: [PATCH] feat: update open-webui to 0.5.4 --- pkgs/open-webui/default.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/open-webui/default.nix b/pkgs/open-webui/default.nix index 661e3192..dafc1e09 100644 --- a/pkgs/open-webui/default.nix +++ b/pkgs/open-webui/default.nix @@ -8,19 +8,19 @@ }: let pname = "open-webui"; - version = "0.4.8"; + version = "0.5.4"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; - rev = "refs/tags/v${version}"; - hash = "sha256-9N/t8hxODM6Dk/eMKS26/2Sh1lJVkq9pNkPcEtbXqb4="; + tag = "v${version}"; + hash = "sha256-vlaJv4CbhjbJbiNZHKsedS2vBXp44oE/7ZALgkPASHI="; }; frontend = buildNpmPackage { inherit pname version src; - npmDepsHash = "sha256-ThOGBurFjndBZcdpiGugdXpv1YCwCN7s3l2JjSk/hY0="; + npmDepsHash = "sha256-g47tK6BC6CE0hqdZbToQMB5QeNdufhO12xPrAjbfMTk="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. @@ -86,7 +86,6 @@ python312.pkgs.buildPythonApplication rec { docx2txt duckduckgo-search einops - emoji # This dependency is missing in upstream's pyproject.toml extract-msg fake-useragent fastapi @@ -95,6 +94,9 @@ python312.pkgs.buildPythonApplication rec { flask-cors fpdf2 ftfy + google-api-python-client + google-auth-httplib2 + google-auth-oauthlib google-generativeai googleapis-common-protos iso-639 @@ -119,7 +121,6 @@ python312.pkgs.buildPythonApplication rec { pgvector psutil psycopg2-binary - pydantic pydub pyjwt pymdown-extensions @@ -128,6 +129,7 @@ python312.pkgs.buildPythonApplication rec { pymysql pypandoc pypdf + python-dotenv python-jose python-multipart python-pptx @@ -140,7 +142,6 @@ python312.pkgs.buildPythonApplication rec { redis requests sentence-transformers - sentencepiece soundfile tiktoken unstructured @@ -167,11 +168,14 @@ python312.pkgs.buildPythonApplication rec { }; meta = { - changelog = "https://github.com/open-webui/open-webui/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/open-webui/open-webui/blob/${src.tag}/CHANGELOG.md"; description = "Comprehensive suite for LLMs with a user-friendly WebUI"; homepage = "https://github.com/open-webui/open-webui"; license = lib.licenses.mit; mainProgram = "open-webui"; - maintainers = with lib.maintainers; [ shivaraj-bh ]; + maintainers = with lib.maintainers; [ + drupol + shivaraj-bh + ]; }; }