From b8db97fec1a4925c13cfbdbc1d90021340b61d57 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 26 Dec 2024 21:37:58 +0100 Subject: [PATCH] open-webui: 0.4.8 -> 0.5.2 --- pkgs/by-name/op/open-webui/package.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 0057e06040b7c7..ba4d9fea1ce107 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -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. @@ -90,6 +90,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 @@ -156,11 +159,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 + ]; }; }