tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
goss: add passthru.tests.goss and meta.mainProgram
Anthony Roussel
2 years ago
9fc549a6
7b553b67
+9
-5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
goss
default.nix
+9
-5
pkgs/tools/misc/goss/default.nix
reviewed
···
49
49
'';
50
50
51
51
passthru = {
52
52
-
tests.version = testers.testVersion {
53
53
-
command = "goss --version";
54
54
-
package = goss;
55
55
-
version = "v${version}";
52
52
+
tests = {
53
53
+
inherit (nixosTests) goss;
54
54
+
version = testers.testVersion {
55
55
+
command = "goss --version";
56
56
+
package = goss;
57
57
+
version = "v${version}";
58
58
+
};
56
59
};
57
60
updateScript = nix-update-script { };
58
61
};
···
67
70
Once the test suite is written they can be executed, waited-on, or served as a health endpoint.
68
71
'';
69
72
license = licenses.asl20;
73
73
+
mainProgram = "goss";
74
74
+
maintainers = with maintainers; [ hyzual jk anthonyroussel ];
70
75
platforms = platforms.linux ++ platforms.darwin;
71
71
-
maintainers = with maintainers; [ hyzual jk anthonyroussel ];
72
76
};
73
77
}