Commit 423c5bab authored by Doron Behar's avatar Doron Behar
Browse files

pyglossary: enable cmd UI features

parent 03749137
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,4 +2,8 @@
  python3,
}:

python3.pkgs.toPythonApplication python3.pkgs.pyglossary
python3.pkgs.toPythonApplication (
  python3.pkgs.pyglossary.override {
    enableCmd = true;
  }
)
+7 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
  # for GUI only
  pygobject3,
  gtk3,
  enableCmd ? false,
  prompt-toolkit,
  tqdm,
}:

buildPythonPackage rec {
@@ -58,6 +61,10 @@ buildPythonPackage rec {
  ]
  ++ lib.optionals enableGui [
    pygobject3
  ]
  ++ lib.optionals enableCmd [
    prompt-toolkit
    tqdm
  ];

  buildInputs = lib.optionals enableGui [