python3Packages.gguf: specify optional-dependencies (#498966)

This commit is contained in:
dotlambda
2026-03-12 05:52:55 +00:00
committed by GitHub
@@ -11,7 +11,6 @@
pyside6,
pyyaml,
requests,
sentencepiece,
tqdm,
# tests
@@ -36,13 +35,15 @@ buildPythonPackage (finalAttrs: {
dependencies = [
numpy
pyside6
pyyaml
requests
sentencepiece
tqdm
];
optional-dependencies = {
gui = [ pyside6 ];
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gguf" ];