tailscale: move back to buildGoModule

06kellyjac b10b8846 1fd39892

+13 -8
+13 -8
pkgs/by-name/ta/tailscale/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - buildGo123Module, 4 + 5 + buildGoModule, 5 6 fetchFromGitHub, 6 7 fetchpatch, 8 + 7 9 makeWrapper, 10 + installShellFiles, 11 + # runtime tooling - linux 8 12 getent, 9 13 iproute2, 10 14 iptables, 11 - lsof, 12 15 shadow, 13 16 procps, 17 + # runtime tooling - darwin 18 + lsof, 19 + 14 20 nixosTests, 15 - installShellFiles, 16 21 tailscale-nginx-auth, 17 22 }: 18 23 19 24 let 20 25 version = "1.80.2"; 21 26 in 22 - buildGo123Module { 27 + buildGoModule { 23 28 pname = "tailscale"; 24 29 inherit version; 25 30 ··· 93 98 wrapProgram $out/bin/tailscaled \ 94 99 --prefix PATH : ${ 95 100 lib.makeBinPath [ 101 + getent 96 102 iproute2 97 103 iptables 98 - getent 99 104 shadow 100 105 ] 101 106 } \ ··· 116 121 inherit tailscale-nginx-auth; 117 122 }; 118 123 119 - meta = with lib; { 124 + meta = { 120 125 homepage = "https://tailscale.com"; 121 126 description = "Node agent for Tailscale, a mesh VPN built on WireGuard"; 122 127 changelog = "https://github.com/tailscale/tailscale/releases/tag/v${version}"; 123 - license = licenses.bsd3; 128 + license = lib.licenses.bsd3; 124 129 mainProgram = "tailscale"; 125 - maintainers = with maintainers; [ 130 + maintainers = with lib.maintainers; [ 126 131 mbaillie 127 132 jk 128 133 mfrw