about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/tools/relic/default.nix13
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";