Unverified Commit b8f2227c authored by Anthony Roussel's avatar Anthony Roussel
Browse files

gns3-gui: add passthru.tests.version

parent 40aae662
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 = ''