gocovsh: minor refactor
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
parent
e27e6904fe
commit
923df37b88
@ -2,8 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
testers,
|
versionCheckHook,
|
||||||
gocovsh, # self
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -26,7 +25,9 @@ buildGoModule rec {
|
|||||||
"-X main.date=19700101T000000Z"
|
"-X main.date=19700101T000000Z"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion { package = gocovsh; };
|
nativeCheckInputs = [ versionCheckHook ];
|
||||||
|
versionCheckProgramArg = [ "--version" ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Go Coverage in your terminal: a tool for exploring Go Coverage reports from the command line";
|
description = "Go Coverage in your terminal: a tool for exploring Go Coverage reports from the command line";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user