From 7ad281a1c3d2f91077053b1806c0b77fe6d78085 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sun, 24 Dec 2023 09:45:34 +0100 Subject: athens: add version test --- pkgs/by-name/at/athens/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkgs/by-name/at') 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"; -- cgit 1.4.1