Skip to content

Commit

Permalink
feat: update open-webui to 0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jan 23, 2025
1 parent 2e93b1d commit d952429
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/open-webui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -119,7 +121,6 @@ python312.pkgs.buildPythonApplication rec {
pgvector
psutil
psycopg2-binary
pydantic
pydub
pyjwt
pymdown-extensions
Expand All @@ -128,6 +129,7 @@ python312.pkgs.buildPythonApplication rec {
pymysql
pypandoc
pypdf
python-dotenv
python-jose
python-multipart
python-pptx
Expand All @@ -140,7 +142,6 @@ python312.pkgs.buildPythonApplication rec {
redis
requests
sentence-transformers
sentencepiece
soundfile
tiktoken
unstructured
Expand All @@ -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
];
};
}

0 comments on commit d952429

Please sign in to comment.