diff --git a/apks/ta/tailscale/README.md b/apks/ta/tailscale/README.md new file mode 100644 index 0000000..c35c3df --- /dev/null +++ b/apks/ta/tailscale/README.md @@ -0,0 +1,22 @@ +# Tailscale Android APK + +This package builds the Tailscale Android application from source. + +## Status + +🚧 **Work in Progress** - Package structure created but needs completion: + +### TODO: +1. **Update version**: Check [Tailscale Android releases](https://github.com/tailscale/tailscale-android/releases) for the latest version +2. **Update hash**: Run `nix-prefetch-url --unpack https://github.com/tailscale/tailscale-android/archive/v{VERSION}.tar.gz` to get the correct hash +3. **Generate dependencies**: Run `nix build .#tailscale.mitmCache.updateScript` to generate deps.json +4. **Verify build output**: Check if the APK output path is correct (might be `app-universal-release-unsigned.apk`) +5. **Test build**: Run `nix build .#tailscale` to verify it builds successfully + +## About Tailscale + +Tailscale is a VPN service that makes the devices and applications you own accessible anywhere in the world, securely and effortlessly. It enables encrypted point-to-point connections using the open source WireGuard protocol. + +- **Repository**: https://github.com/tailscale/tailscale-android +- **License**: BSD-3-Clause +- **Build System**: Gradle \ No newline at end of file diff --git a/apks/ta/tailscale/package.nix b/apks/ta/tailscale/package.nix index fba4401..cccb207 100644 --- a/apks/ta/tailscale/package.nix +++ b/apks/ta/tailscale/package.nix @@ -1,3 +1,6 @@ +# Tailscale Android APK +# Latest releases: https://github.com/tailscale/tailscale-android/releases +# To get the hash: nix-prefetch-url --unpack https://github.com/tailscale/tailscale-android/archive/v{VERSION}.tar.gz { stdenv, fetchFromGitHub, @@ -32,12 +35,14 @@ let in stdenv.mkDerivation (finalAttrs: rec { name = "tailscale-${version}.apk"; - version = "1.80.1"; + # TODO: Update version to latest release from https://github.com/tailscale/tailscale-android/releases + version = "1.78.1"; src = fetchFromGitHub { owner = "tailscale"; repo = "tailscale-android"; rev = "v${version}"; + # TODO: Update hash - run `nix-prefetch-url --unpack https://github.com/tailscale/tailscale-android/archive/v${version}.tar.gz` hash = "sha256-0000000000000000000000000000000000000000000="; leaveDotGit = true; }; @@ -82,6 +87,7 @@ stdenv.mkDerivation (finalAttrs: rec { }; installPhase = '' + # TODO: Verify APK output path - might be app-universal-release-unsigned.apk or app-release.apk cp app/build/outputs/apk/release/app-release.apk $out ''; }) \ No newline at end of file