gns3-server: add passthru.tests.version

+7
+7
pkgs/applications/networking/gns3/server.nix
··· 8 , fetchFromGitHub 9 , pkgsStatic 10 , stdenv 11 }: 12 13 python3.pkgs.buildPythonApplication { ··· 72 # Rerun failed tests up to three times (flaky tests) 73 "--reruns 3" 74 ]; 75 76 meta = with lib; { 77 description = "Graphical Network Simulator 3 server (${channel} release)";
··· 8 , fetchFromGitHub 9 , pkgsStatic 10 , stdenv 11 + , testers 12 + , gns3-server 13 }: 14 15 python3.pkgs.buildPythonApplication { ··· 74 # Rerun failed tests up to three times (flaky tests) 75 "--reruns 3" 76 ]; 77 + 78 + passthru.tests.version = testers.testVersion { 79 + package = gns3-server; 80 + command = "${lib.getExe gns3-server} --version"; 81 + }; 82 83 meta = with lib; { 84 description = "Graphical Network Simulator 3 server (${channel} release)";