tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gns3-server: add passthru.tests.version
Anthony Roussel
2 years ago
c1d787d7
029eb478
+7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
gns3
server.nix
+7
pkgs/applications/networking/gns3/server.nix
···
8
, fetchFromGitHub
9
, pkgsStatic
10
, stdenv
0
0
11
}:
12
13
python3.pkgs.buildPythonApplication {
···
72
# Rerun failed tests up to three times (flaky tests)
73
"--reruns 3"
74
];
0
0
0
0
0
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)";