diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-06 21:59:27 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-08 22:11:11 +0100 |
commit | b8f2227ca73352f7812560b34273450502f08847 (patch) | |
tree | 35833a962effb323acd9d90cde20edca55790ced | |
parent | 40aae6629bf34382c2bbd5177f1eff8f18f774ae (diff) |
gns3-gui: add passthru.tests.version
-rw-r--r-- | pkgs/applications/networking/gns3/gui.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/gns3/gui.nix b/pkgs/applications/networking/gns3/gui.nix index a9537d9931711..85f0d7c0e638f 100644 --- a/pkgs/applications/networking/gns3/gui.nix +++ b/pkgs/applications/networking/gns3/gui.nix @@ -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 = '' |