Skip to content

Commit 91d6a84

Browse files
committed
1 parent 823833d commit 91d6a84

File tree

1 file changed

+92
-89
lines changed

1 file changed

+92
-89
lines changed

pkgs/by-name/op/open-webui/package.nix

Lines changed: 92 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
}:
88
let
99
pname = "open-webui";
10-
version = "0.5.5";
10+
version = "0.5.6";
1111

1212
src = fetchFromGitHub {
1313
owner = "open-webui";
1414
repo = "open-webui";
1515
tag = "v${version}";
16-
hash = "sha256-4g+dt1dbN/ulERW3WLjTJ0++JD5NLREXjGu6ngPdxAI=";
16+
hash = "sha256-9HRUFG8knKJx5Fr0uxLPMwhhbNnQ7CSywla8LGZu8l4=";
1717
};
1818

1919
frontend = buildNpmPackage {
2020
inherit pname version src;
2121

22-
npmDepsHash = "sha256-cIocYy91JfcZM35ZiT6onEsz89qAZ+7jCjpjg6lV4pc=";
22+
npmDepsHash = "sha256-copQjrFgVJ6gZ8BwPiIsHEKSZDEiuVU3qygmPFv5Y1A=";
2323

2424
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
2525
# Until this is solved, running python packages from the browser will not work.
@@ -46,6 +46,8 @@ python312.pkgs.buildPythonApplication rec {
4646
inherit pname version src;
4747
pyproject = true;
4848

49+
build-system = with python312.pkgs; [ hatchling ];
50+
4951
# Not force-including the frontend build directory as frontend is managed by the `frontend` derivation above.
5052
postPatch = ''
5153
substituteInPlace pyproject.toml \
@@ -62,92 +64,93 @@ python312.pkgs.buildPythonApplication rec {
6264
"pytest-docker"
6365
];
6466

65-
dependencies = with python312.pkgs; [
66-
aiocache
67-
aiofiles
68-
aiohttp
69-
alembic
70-
anthropic
71-
apscheduler
72-
argon2-cffi
73-
async-timeout
74-
authlib
75-
bcrypt
76-
beautifulsoup4
77-
black
78-
boto3
79-
chromadb
80-
colbert-ai
81-
docx2txt
82-
duckduckgo-search
83-
einops
84-
extract-msg
85-
fake-useragent
86-
fastapi
87-
faster-whisper
88-
flask
89-
flask-cors
90-
fpdf2
91-
ftfy
92-
gcp-storage-emulator
93-
google-api-python-client
94-
google-auth-httplib2
95-
google-auth-oauthlib
96-
google-cloud-storage
97-
google-generativeai
98-
googleapis-common-protos
99-
iso-639
100-
langchain
101-
langchain-community
102-
langdetect
103-
langfuse
104-
ldap3
105-
markdown
106-
moto
107-
nltk
108-
openai
109-
opencv-python-headless
110-
openpyxl
111-
opensearch-py
112-
pandas
113-
passlib
114-
peewee
115-
peewee-migrate
116-
pgvector
117-
psutil
118-
psycopg2-binary
119-
pydub
120-
pyjwt
121-
pymdown-extensions
122-
pymilvus
123-
pymongo
124-
pymysql
125-
pypandoc
126-
pypdf
127-
python-dotenv
128-
python-jose
129-
python-multipart
130-
python-pptx
131-
python-socketio
132-
pytube
133-
pyxlsb
134-
qdrant-client
135-
rank-bm25
136-
rapidocr-onnxruntime
137-
redis
138-
requests
139-
sentence-transformers
140-
soundfile
141-
tiktoken
142-
transformers
143-
unstructured
144-
uvicorn
145-
validators
146-
xlrd
147-
youtube-transcript-api
148-
];
149-
150-
build-system = with python312.pkgs; [ hatchling ];
67+
dependencies =
68+
with python312.pkgs;
69+
[
70+
aiocache
71+
aiofiles
72+
aiohttp
73+
alembic
74+
anthropic
75+
apscheduler
76+
argon2-cffi
77+
async-timeout
78+
authlib
79+
bcrypt
80+
beautifulsoup4
81+
black
82+
boto3
83+
chromadb
84+
colbert-ai
85+
docx2txt
86+
duckduckgo-search
87+
einops
88+
extract-msg
89+
fake-useragent
90+
fastapi
91+
faster-whisper
92+
flask
93+
flask-cors
94+
fpdf2
95+
ftfy
96+
gcp-storage-emulator
97+
google-api-python-client
98+
google-auth-httplib2
99+
google-auth-oauthlib
100+
google-cloud-storage
101+
google-generativeai
102+
googleapis-common-protos
103+
iso-639
104+
langchain
105+
langchain-community
106+
langdetect
107+
langfuse
108+
ldap3
109+
markdown
110+
moto
111+
nltk
112+
openai
113+
opencv-python-headless
114+
openpyxl
115+
opensearch-py
116+
pandas
117+
passlib
118+
peewee
119+
peewee-migrate
120+
pgvector
121+
psutil
122+
psycopg2-binary
123+
pydub
124+
pyjwt
125+
pymdown-extensions
126+
pymilvus
127+
pymongo
128+
pymysql
129+
pypandoc
130+
pypdf
131+
python-dotenv
132+
python-jose
133+
python-multipart
134+
python-pptx
135+
python-socketio
136+
pytube
137+
pyxlsb
138+
qdrant-client
139+
rank-bm25
140+
rapidocr-onnxruntime
141+
redis
142+
requests
143+
sentence-transformers
144+
soundfile
145+
tiktoken
146+
transformers
147+
unstructured
148+
uvicorn
149+
validators
150+
xlrd
151+
youtube-transcript-api
152+
]
153+
++ moto.optional-dependencies.s3;
151154

152155
pythonImportsCheck = [ "open_webui" ];
153156

0 commit comments

Comments
 (0)