relic: add version test

This commit is contained in:
figsoda 2023-06-02 09:26:55 -04:00
parent 6329f449c4
commit 05fe7dd890

View file

@ -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";