forked from mirrors/nixpkgs
ov: add version test
This commit is contained in:
parent
7d042cde84
commit
943781aa98
|
@ -4,6 +4,8 @@
|
|||
, installShellFiles
|
||||
, pandoc
|
||||
, makeWrapper
|
||||
, testers
|
||||
, ov
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -52,6 +54,13 @@ buildGoModule rec {
|
|||
cp $src/ov.yaml $doc/share/$name/sample-config.yaml
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = ov;
|
||||
version = "v${version}";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Feature-rich terminal-based text viewer";
|
||||
homepage = "https://noborus.github.io/ov";
|
||||
|
|
Loading…
Reference in a new issue