athens: add version test
This commit is contained in:
parent
e9bd0e68af
commit
7ad281a1c3
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue