hub: Add test

This commit is contained in:
Tim Steinbach
2021-01-02 15:43:01 -05:00
committed by Tim Steinbach
parent 0576111e8a
commit 4c9414d31c
3 changed files with 21 additions and 1 deletions
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux }:
{ stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
buildGoPackage rec {
pname = "hub";
@@ -35,6 +35,8 @@ buildGoPackage rec {
installManPage share/man/man[1-9]/*.[1-9]
'';
passthru.tests = { inherit (nixosTests) hub; };
meta = with stdenv.lib; {
description = "Command-line wrapper for git that makes you better at GitHub";
license = licenses.mit;