teleport,teleport.client: 4.2.11 -> 5.1.2

This commit is contained in:
freezeboy 2021-01-05 13:50:58 +01:00
parent b0592a3e2e
commit 64d7dad3fa

View File

@ -41,21 +41,29 @@ buildGoPackage rec {
popd popd
''; '';
dontStrip = true; # Reduce closure size for client machines
outputs = [ "out" "client" ];
buildTargets = [ "full" ];
postInstall = ''
install -Dm755 -t $client/bin $out/bin/tsh
'';
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''
$out/bin/tsh version | grep ${version} > /dev/null $out/bin/tsh version | grep ${version} > /dev/null
$client/bin/tsh version | grep ${version} > /dev/null
$out/bin/tctl version | grep ${version} > /dev/null $out/bin/tctl version | grep ${version} > /dev/null
$out/bin/teleport version | grep ${version} > /dev/null $out/bin/teleport version | grep ${version} > /dev/null
''; '';
meta = { meta = with lib; {
description = "A SSH CA management suite"; description = "A SSH CA management suite";
homepage = "https://gravitational.com/teleport/"; homepage = "https://gravitational.com/teleport/";
license = lib.licenses.asl20; license = licenses.asl20;
maintainers = with lib.maintainers; [ sigma tomberek ]; maintainers = with maintainers; [ sigma tomberek freezeboy ];
platforms = lib.platforms.unix; platforms = platforms.unix;
}; };
} }