Unverified Commit ea18c327 authored by codgician's avatar codgician
Browse files
parent 37e21068
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@
}:
let
  pname = "open-webui";
  version = "0.8.12";
  version = "0.9.1";

  src = fetchFromGitHub {
    owner = "open-webui";
    repo = "open-webui";
    tag = "v${version}";
    hash = "sha256-ynWv/X4IBKO09+ira+NUwbzw51MK9aEvGkeaHzCngd0=";
    hash = "sha256-INUxpLGN+Jn2oYggA9kkp1zGY+LPQNXuRop4DaOi9Ps=";
  };

  frontend = buildNpmPackage rec {
@@ -32,7 +32,7 @@ let
      url = "https://github.com/pyodide/pyodide/releases/download/${pyodideVersion}/pyodide-${pyodideVersion}.tar.bz2";
    };

    npmDepsHash = "sha256-UeoU7UGQ+0ViEIjK/Ze7KazB/JCyFYljHyTmxuza4v8=";
    npmDepsHash = "sha256-tn76LGDLRaR87VM0pHgkutsbg4X4Kco04HwgGSS8Uug=";

    # See https://github.com/open-webui/open-webui/issues/15880
    npmFlags = [
@@ -92,12 +92,14 @@ python3Packages.buildPythonApplication (finalAttrs: {
      aiocache
      aiofiles
      aiohttp
      aiosqlite
      alembic
      anthropic
      apscheduler
      argon2-cffi
      asgiref
      async-timeout
      asyncpg
      authlib
      azure-ai-documentintelligence
      azure-identity
@@ -155,7 +157,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
      pandas
      peewee
      peewee-migrate
      pgvector
      pillow
      psutil
      pyarrow
@@ -187,7 +188,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
      starsessions
      tiktoken
      transformers
      unstructured
      uvicorn
      validators
      xlrd
@@ -206,6 +206,10 @@ python3Packages.buildPythonApplication (finalAttrs: {
      mariadb
    ];

    unstructured = [
      unstructured
    ];

    all = [
      azure-search-documents
      colbert-ai
@@ -223,6 +227,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
    ]
    ++ finalAttrs.passthru.optional-dependencies.mariadb
    ++ finalAttrs.passthru.optional-dependencies.postgres
    ++ finalAttrs.passthru.optional-dependencies.unstructured
    ++ moto.optional-dependencies.s3;
  };