forked from mirrors/nixpkgs
go-task: add version test
This commit is contained in:
parent
c68cb4ce9b
commit
5fa7642c6c
|
@ -1,4 +1,10 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, testers
|
||||
, go-task
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-task";
|
||||
|
@ -31,6 +37,12 @@ buildGoModule rec {
|
|||
installShellCompletion completion/{bash,fish,zsh}/*
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = go-task;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://taskfile.dev/";
|
||||
description = "A task runner / simpler Make alternative written in Go";
|
||||
|
|
Loading…
Reference in a new issue