Skip to content

Commit

Permalink
open-webui: 0.4.8 -> 0.5.2 (NixOS#368411)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Dec 29, 2024
2 parents 35035bb + eda8f7b commit 43cb336
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions pkgs/by-name/op/open-webui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
}:
let
pname = "open-webui";
version = "0.4.8";
version = "0.5.2";

src = fetchFromGitHub {
owner = "open-webui";
repo = "open-webui";
rev = "refs/tags/v${version}";
hash = "sha256-9N/t8hxODM6Dk/eMKS26/2Sh1lJVkq9pNkPcEtbXqb4=";
tag = "v${version}";
hash = "sha256-QQSJaef/0G8elj3c3uVWq9Yh7puNhe0vZc+IVH3rDpE=";
};

frontend = buildNpmPackage {
inherit pname version src;

npmDepsHash = "sha256-ThOGBurFjndBZcdpiGugdXpv1YCwCN7s3l2JjSk/hY0=";
npmDepsHash = "sha256-SUrI5nKtW/NoqT2BNRjBM9Aw9KIZL/T6SEtEbazhvPQ=";

# 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 @@ -81,7 +81,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 @@ -90,6 +89,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 Down Expand Up @@ -156,11 +158,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 43cb336

Please sign in to comment.