diff options
author | figsoda <figsoda@pm.me> | 2023-06-02 09:26:55 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-06-02 09:26:55 -0400 |
commit | 05fe7dd890b3f4a6b2646a394923de1da89a6e4a (patch) | |
tree | fbb2e290262469546ac2bcccd6e36ebef0d53fb8 /pkgs/development/tools/relic | |
parent | 6329f449c4ad2d61d57c9307c89dab6345752d48 (diff) |
relic: add version test
Diffstat (limited to 'pkgs/development/tools/relic')
-rw-r--r-- | pkgs/development/tools/relic/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/development/tools/relic/default.nix b/pkgs/development/tools/relic/default.nix index bd10b3717601b..8d5d9fb3231e9 100644 --- a/pkgs/development/tools/relic/default.nix +++ b/pkgs/development/tools/relic/default.nix @@ -1,4 +1,9 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +, testers +, relic +}: buildGoModule rec { pname = "relic"; @@ -20,6 +25,12 @@ buildGoModule rec { "-X=main.commit=${src.rev}" ]; + passthru.tests = { + version = testers.testVersion { + package = relic; + }; + }; + meta = with lib; { homepage = "https://github.com/sassoftware/relic"; description = "A service and a tool for adding digital signatures to operating system packages for Linux and Windows"; |