gns3-gui: add passthru.tests.version
This commit is contained in:
parent
40aae6629b
commit
b8f2227ca7
1 changed files with 7 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue