diff options
author | Paul Meyer <49727155+katexochen@users.noreply.github.com> | 2023-12-24 09:45:34 +0100 |
---|---|---|
committer | Paul Meyer <49727155+katexochen@users.noreply.github.com> | 2023-12-24 09:45:34 +0100 |
commit | 7ad281a1c3d2f91077053b1806c0b77fe6d78085 (patch) | |
tree | 5aa6695b9d3ff9e539a6b855c1f6e455eb5d21a7 /pkgs/by-name/at | |
parent | e9bd0e68af5d6d70b28ab598da200ebfb6002416 (diff) |
athens: add version test
Diffstat (limited to 'pkgs/by-name/at')
-rw-r--r-- | pkgs/by-name/at/athens/package.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/by-name/at/athens/package.nix b/pkgs/by-name/at/athens/package.nix index f1dd0b0a92819..426cadfcf190e 100644 --- a/pkgs/by-name/at/athens/package.nix +++ b/pkgs/by-name/at/athens/package.nix @@ -1,6 +1,8 @@ { lib , fetchFromGitHub , buildGoModule +, testers +, athens }: buildGoModule rec { pname = "athens"; @@ -25,6 +27,12 @@ buildGoModule rec { mv $out/bin/proxy $out/bin/athens ''; + passthru = { + tests.version = testers.testVersion { + package = athens; + }; + }; + meta = with lib; { description = "A Go module datastore and proxy"; homepage = "https://github.com/gomods/athens"; |