3
0
Fork 0
forked from mirrors/nixpkgs

go-task: add version test

This commit is contained in:
figsoda 2023-05-27 20:21:15 -04:00
parent c68cb4ce9b
commit 5fa7642c6c

View file

@ -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";