gns3-server: add passthru.tests.version

This commit is contained in:
Anthony Roussel 2023-11-06 21:51:17 +01:00
parent 029eb4785b
commit c1d787d791
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -8,6 +8,8 @@
, fetchFromGitHub
, pkgsStatic
, stdenv
, testers
, gns3-server
}:
python3.pkgs.buildPythonApplication {
@ -73,6 +75,11 @@ python3.pkgs.buildPythonApplication {
"--reruns 3"
];
passthru.tests.version = testers.testVersion {
package = gns3-server;
command = "${lib.getExe gns3-server} --version";
};
meta = with lib; {
description = "Graphical Network Simulator 3 server (${channel} release)";
longDescription = ''