a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
17 lines
465 B
Nix
17 lines
465 B
Nix
import ../make-test-python.nix ({ pkgs, ...} : {
|
|
name = "hub";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
nodes.hub = { pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [ pkgs.hub ];
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
assert "git version ${pkgs.git.version}\nhub version ${pkgs.hub.version}\n" in hub.succeed("hub version")
|
|
assert "These GitHub commands are provided by hub" in hub.succeed("hub help")
|
|
'';
|
|
})
|