diff options
Diffstat (limited to 'third_party/tailscale/default.nix')
-rw-r--r-- | third_party/tailscale/default.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/third_party/tailscale/default.nix b/third_party/tailscale/default.nix deleted file mode 100644 index 9f26d8f76af6..000000000000 --- a/third_party/tailscale/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -# This file packages the Tailscale client using the standard upstream -# Go packaging mechanisms instead of buildGo.nix - -{ pkgs, lib, ... }: - -let - inherit (pkgs) buildGoModule fetchFromGitHub; -in buildGoModule rec { - pname = "tailscale"; - version = "fef25489"; - - src = fetchFromGitHub { - owner = "tailscale"; - repo = "tailscale"; - rev = "fef254898178d100f25b98530499adcf07cfded3"; - sha256 = "1islxzr8lhnl2f0r686mcciwb8lzvqjczg9fs0nagr5pp6dsi9fa"; - }; - - patches = [ ./0001-fix-client-logger.patch ]; - - goPackagePath = "tailscale.com"; - modSha256 = "0cnih9flwgqjq4x4cwyac9yyz1prv2i2by1ki3g71ai8q621bq10"; - subPackages = [ - "cmd/relaynode" - "cmd/taillogin" - "cmd/tailscale" - "cmd/tailscaled" - ]; - - postInstall = '' - mkdir -p $out/etc/ - cp ${src}/cmd/relaynode/acl.json $out/etc/ - ''; - - meta = with lib; { - homepage = "https://tailscale.com/"; - description = "Private WireGuard networks made easy"; - license = licenses.bsd3; - maintainers = with maintainers; [ tazjin ]; - }; -} |