ghq: add passthru.tests.version
This commit is contained in:
parent
58334e683a
commit
abd0237851
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, ghq }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ghq";
|
||||
@ -24,6 +24,12 @@ buildGoModule rec {
|
||||
install -m 444 -D ${src}/misc/bash/_ghq $out/share/bash-completion/completions/_ghq
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = ghq;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Remote repository management made easy";
|
||||
homepage = "https://github.com/x-motemen/ghq";
|
||||
|
Loading…
Reference in New Issue
Block a user