mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-11-08 11:36:12 +01:00
Add documentation and TODOs for Tailscale APK package
Co-authored-by: osbm <74963545+osbm@users.noreply.github.com>
This commit is contained in:
parent
c0dc31f595
commit
0c1658f6d0
2 changed files with 29 additions and 1 deletions
22
apks/ta/tailscale/README.md
Normal file
22
apks/ta/tailscale/README.md
Normal file
|
|
@ -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
|
||||
|
|
@ -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
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue