From 05fe7dd890b3f4a6b2646a394923de1da89a6e4a Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 2 Jun 2023 09:26:55 -0400 Subject: [PATCH] relic: add version test --- pkgs/development/tools/relic/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/relic/default.nix b/pkgs/development/tools/relic/default.nix index bd10b3717601..8d5d9fb3231e 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";