Unverified Commit f00d2803 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

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

parents b0cc0b8f 360fa9fe
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" ];