Loading pkgs/by-name/py/pyglossary-gui/package.nix 0 → 100644 +9 −0 Original line number Diff line number Diff line { python3, }: python3.pkgs.toPythonApplication ( python3.pkgs.pyglossary.override { enableGui = true; } ) pkgs/development/python-modules/pyglossary/default.nix +19 −0 Original line number Diff line number Diff line Loading @@ -10,9 +10,17 @@ # tests versionCheckHook, # nativeBuildInputs for GUI gobject-introspection, wrapGAppsHook3, # dependencies (required for most functionality) pyicu, lxml, enableGui ? false, # for GUI only pygobject3, gtk3, }: buildPythonPackage rec { Loading @@ -38,11 +46,22 @@ buildPythonPackage rec { build-system = [ setuptools ] ++ lib.optionals enableGui [ gobject-introspection wrapGAppsHook3 ]; dependencies = [ pyicu lxml ] ++ lib.optionals enableGui [ pygobject3 ]; buildInputs = lib.optionals enableGui [ gtk3 ]; # Many issues with the tests: They require `cd tests` in `preCheck`; Some of Loading Loading
pkgs/by-name/py/pyglossary-gui/package.nix 0 → 100644 +9 −0 Original line number Diff line number Diff line { python3, }: python3.pkgs.toPythonApplication ( python3.pkgs.pyglossary.override { enableGui = true; } )
pkgs/development/python-modules/pyglossary/default.nix +19 −0 Original line number Diff line number Diff line Loading @@ -10,9 +10,17 @@ # tests versionCheckHook, # nativeBuildInputs for GUI gobject-introspection, wrapGAppsHook3, # dependencies (required for most functionality) pyicu, lxml, enableGui ? false, # for GUI only pygobject3, gtk3, }: buildPythonPackage rec { Loading @@ -38,11 +46,22 @@ buildPythonPackage rec { build-system = [ setuptools ] ++ lib.optionals enableGui [ gobject-introspection wrapGAppsHook3 ]; dependencies = [ pyicu lxml ] ++ lib.optionals enableGui [ pygobject3 ]; buildInputs = lib.optionals enableGui [ gtk3 ]; # Many issues with the tests: They require `cd tests` in `preCheck`; Some of Loading