open-webui: 0.2.5 -> 0.3.2

diff: https://github.com/open-webui/open-webui/compare/v0.2.5..v0.3.2
changelog: https://github.com/open-webui/open-webui/releases/tag/v0.3.2

I also added a new dependency `extract-msg` because of f69bc57fed

I also removed stuff from `pythonRemoveDeps` since they are now available:
- https://github.com/NixOS/nixpkgs/pull/317142
- https://github.com/NixOS/nixpkgs/pull/317151
This commit is contained in:
Pol Dellaiera 2024-06-10 12:23:27 +02:00
parent 64aff417d1
commit cbf8486ad3
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -7,19 +7,19 @@
}:
let
pname = "open-webui";
version = "0.2.5";
version = "0.3.2";
src = fetchFromGitHub {
owner = "open-webui";
repo = "open-webui";
rev = "v${version}";
hash = "sha256-BqclBrkFmTUJZuUySyNsQFlfdyENaIhqjn50797zJHY=";
hash = "sha256-hUm4UUQUFoDRrAg+RqIo735iQs8304OUJlT91vILmXo=";
};
frontend = buildNpmPackage {
inherit pname version src;
npmDepsHash = "sha256-drMUcCUeyPEnaa1fSsfHJfInenyfH7NNJgBFeRsfOuE=";
npmDepsHash = "sha256-VdGneemYLMuMczjQB6I35Ry2kyIuAe2IaeDus/NvzK8=";
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
# Until this is solved, running python packages from the browser will not work.
@ -55,64 +55,63 @@ python3.pkgs.buildPythonApplication rec {
pythonRelaxDeps = true;
pythonRemoveDeps = [
# using `psycopg2` instead
"psycopg2-binary"
# using `opencv4`
"opencv-python-headless"
# using `psycopg2` instead
"psycopg2-binary"
# package request: https://github.com/NixOS/nixpkgs/issues/317065
"rapidocr-onnxruntime"
# package request: https://github.com/NixOS/nixpkgs/issues/317066
"langfuse"
# package request: https://github.com/NixOS/nixpkgs/issues/317068
"langchain-chroma"
];
dependencies = with python3.pkgs; [
aiohttp
apscheduler
argon2-cffi
bcrypt
beautifulsoup4
black
boto3
chromadb
docx2txt
extract-msg
fake-useragent
fastapi
uvicorn
python-multipart
faster-whisper
flask
flask-cors
python-socketio
python-jose
fpdf2
google-generativeai
langchain
langchain-chroma
langchain-community
langfuse
litellm
markdown
opencv4
openpyxl
pandas
passlib
requests
aiohttp
peewee
peewee-migrate
psycopg2
pymysql
bcrypt
litellm
boto3
argon2-cffi
apscheduler
google-generativeai
langchain
langchain-community
fake-useragent
chromadb
sentence-transformers
pypdf
docx2txt
python-pptx
unstructured
markdown
pypandoc
pandas
openpyxl
pyxlsb
xlrd
validators
opencv4
fpdf2
rank-bm25
faster-whisper
pyjwt
black
youtube-transcript-api
pymysql
pypandoc
pypdf
python-jose
python-multipart
python-pptx
python-socketio
pytube
pyxlsb
rank-bm25
requests
sentence-transformers
unstructured
uvicorn
validators
xlrd
youtube-transcript-api
];
build-system = with python3.pkgs; [