Skip to content

Commit 53c7d6f

Browse files
asouldocs: add passthru.tests.version
1 parent 6b6cffe commit 53c7d6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/by-name/as/asouldocs/package.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
lib,
3+
asouldocs,
34
buildGoModule,
45
fetchFromGitHub,
6+
testers,
57
}:
68

79
buildGoModule rec {
@@ -17,6 +19,11 @@ buildGoModule rec {
1719

1820
vendorHash = "sha256-T/KLiSK6bxXGkmVJ5aGrfHTUfLs/ElGyWSoCL5kb/KU=";
1921

22+
passthru.tests.version = testers.testVersion {
23+
package = asouldocs;
24+
command = "asouldocs --version";
25+
};
26+
2027
meta = with lib; {
2128
description = "Web server for multi-language, real-time synchronization and searchable documentation";
2229
homepage = "https://asouldocs.dev/";

0 commit comments

Comments
 (0)