gns3-gui: add passthru.tests.version

This commit is contained in:
Anthony Roussel 2023-11-06 21:59:27 +01:00
parent 40aae6629b
commit b8f2227ca7
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -8,6 +8,8 @@
, fetchFromGitHub
, qt5
, wrapQtAppsHook
, testers
, gns3-gui
}:
python3.pkgs.buildPythonApplication rec {
@ -56,6 +58,11 @@ python3.pkgs.buildPythonApplication rec {
export QT_QPA_PLATFORM=offscreen
'';
passthru.tests.version = testers.testVersion {
package = gns3-gui;
command = "${lib.getExe gns3-gui} --version";
};
meta = with lib; {
description = "Graphical Network Simulator 3 GUI (${channel} release)";
longDescription = ''