open-webui: 0.5.4 -> 0.5.5 (#375918)

This commit is contained in:
Pol Dellaiera
2025-01-22 22:20:28 +01:00
committed by GitHub
3 changed files with 64 additions and 4 deletions
+7 -4
View File
@@ -7,19 +7,19 @@
}:
let
pname = "open-webui";
version = "0.5.4";
version = "0.5.5";
src = fetchFromGitHub {
owner = "open-webui";
repo = "open-webui";
tag = "v${version}";
hash = "sha256-vlaJv4CbhjbJbiNZHKsedS2vBXp44oE/7ZALgkPASHI=";
hash = "sha256-4g+dt1dbN/ulERW3WLjTJ0++JD5NLREXjGu6ngPdxAI=";
};
frontend = buildNpmPackage {
inherit pname version src;
npmDepsHash = "sha256-g47tK6BC6CE0hqdZbToQMB5QeNdufhO12xPrAjbfMTk=";
npmDepsHash = "sha256-cIocYy91JfcZM35ZiT6onEsz89qAZ+7jCjpjg6lV4pc=";
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
# Until this is solved, running python packages from the browser will not work.
@@ -89,19 +89,21 @@ python312.pkgs.buildPythonApplication rec {
flask-cors
fpdf2
ftfy
gcp-storage-emulator
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
google-cloud-storage
google-generativeai
googleapis-common-protos
iso-639
langchain
langchain-chroma
langchain-community
langdetect
langfuse
ldap3
markdown
moto
nltk
openai
opencv-python-headless
@@ -137,6 +139,7 @@ python312.pkgs.buildPythonApplication rec {
sentence-transformers
soundfile
tiktoken
transformers
unstructured
uvicorn
validators
@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
flake8,
fs,
google-cloud-storage,
google-crc32c,
pytest,
pytestCheckHook,
pytest-cov,
requests,
}:
buildPythonPackage rec {
pname = "gcp-storage-emulator";
version = "2024.08.03";
pyproject = true;
src = fetchFromGitHub {
owner = "oittaa";
repo = "gcp-storage-emulator";
rev = "v${version}";
hash = "sha256-Lp9Wvod0wSE2+cnvLXguhagT30ax9TivyR8gC/kB7w0=";
};
build-system = [
setuptools
wheel
];
nativeCheckInputs = [
flake8
fs
google-cloud-storage
google-crc32c
pytest
pytestCheckHook
pytest-cov
requests
];
pythonImportsCheck = [
"gcp_storage_emulator"
];
meta = {
description = "Local emulator for Google Cloud Storage";
homepage = "https://github.com/oittaa/gcp-storage-emulator";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ drupol ];
};
}
+2
View File
@@ -5083,6 +5083,8 @@ self: super: with self; {
gcovr = callPackage ../development/python-modules/gcovr { };
gcp-storage-emulator = callPackage ../development/python-modules/gcp-storage-emulator { };
gcsa = callPackage ../development/python-modules/gcsa { };
gcsfs = callPackage ../development/python-modules/gcsfs { };