Commit 360fa9fe authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.gguf: specify optional-dependencies

parent 88c3f43d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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" ];