@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux }:
1+{ stdenv, buildGoPackage, fetchFromGitHub, git, groff, installShellFiles, util-linux, nixosTests }:
22
33buildGoPackage rec {
44 pname = "hub";
@@ -35,6 +35,8 @@ buildGoPackage rec {
3535 installManPage share/man/man[1-9]/*.[1-9]
3636 '';
3737
38+ passthru.tests = { inherit (nixosTests) hub; };
39+
3840 meta = with stdenv.lib; {
3941 description = "Command-line wrapper for git that makes you better at GitHub";
4042 license = licenses.mit;