relic: add version test
This commit is contained in:
parent
6329f449c4
commit
05fe7dd890
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, relic
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "relic";
|
pname = "relic";
|
||||||
|
@ -20,6 +25,12 @@ buildGoModule rec {
|
||||||
"-X=main.commit=${src.rev}"
|
"-X=main.commit=${src.rev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = relic;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/sassoftware/relic";
|
homepage = "https://github.com/sassoftware/relic";
|
||||||
description = "A service and a tool for adding digital signatures to operating system packages for Linux and Windows";
|
description = "A service and a tool for adding digital signatures to operating system packages for Linux and Windows";
|
||||||
|
|
Loading…
Reference in a new issue