summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/gns3
diff options
context:
space:
mode:
authorAnthony Roussel <anthony@roussel.dev>2023-11-06 21:59:27 +0100
committerAnthony Roussel <anthony@roussel.dev>2023-11-08 22:11:11 +0100
commitb8f2227ca73352f7812560b34273450502f08847 (patch)
tree35833a962effb323acd9d90cde20edca55790ced /pkgs/applications/networking/gns3
parent40aae6629bf34382c2bbd5177f1eff8f18f774ae (diff)
gns3-gui: add passthru.tests.version
Diffstat (limited to 'pkgs/applications/networking/gns3')
-rw-r--r--pkgs/applications/networking/gns3/gui.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/gns3/gui.nix b/pkgs/applications/networking/gns3/gui.nix
index a9537d993171..85f0d7c0e638 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 = ''