diff options
author | Tim Steinbach <tim@nequissimus.com> | 2020-12-29 11:13:26 -0500 |
---|---|---|
committer | Tim Steinbach <NeQuissimus@users.noreply.github.com> | 2021-01-02 15:43:01 -0500 |
commit | 4c9414d31c6a88b599716a057d86d55f40299af9 (patch) | |
tree | 88b75be3180f7f0655ab4f6afb65e28baa864158 /pkgs/applications/version-management/git-and-tools | |
parent | 0576111e8ae62ae19cc5b1908e87bd3e34a22bc0 (diff) |
hub: Add test
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/hub/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/hub/default.nix b/pkgs/applications/version-management/git-and-tools/hub/default.nix index 1fc729783d022..788512df85cda 100644 --- a/pkgs/applications/version-management/git-and-tools/hub/default.nix +++ b/pkgs/applications/version-management/git-and-tools/hub/default.nix @@ -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; |