taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

commit 7c46babc236ff4b953322463d391d0b57dbe02b7
parent d190428bb911352f71185b45a07336a68671d9e0
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Fri,  4 Sep 2026 19:02:09 +0200

remove nix flakes

Diffstat:
Dflake.lock | 60------------------------------------------------------------
Dflake.nix | 66------------------------------------------------------------------
2 files changed, 0 insertions(+), 126 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -1,60 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1784014140, - "narHash": "sha256-XoVFhgsyVd5zBXHm2US5w6GI9VC1Y0mfRr3I98Ge2kw=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "96f74a7199df92dfe5b67ebd9703e159e7300a99", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "release-26.05", - "type": "indirect" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix @@ -1,66 +0,0 @@ -{ - description = "Android Studio Development Environment for Taler Android"; - - inputs = { - nixpkgs.url = "nixpkgs/release-26.05"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = import nixpkgs { - inherit system; - config = { - allowUnfree = true; - android_sdk.accept_license = true; - }; - }; - - # Composed SDK specifically covering Taler Android parameters (up to API 36) - androidComposition = pkgs.androidenv.composeAndroidPackages { - cmdLineToolsVersion = "13.0"; - platformToolsVersion = "35.0.2"; - buildToolsVersions = [ "34.0.0" "35.0.0" "36.0.0" "37.0.0" ]; - platformVersions = [ "34" "35" "36" "37" ]; - includeEmulator = true; - includeSystemImages = true; - systemImageTypes = [ "google_apis_playstore" ]; - abiVersions = [ "x86_64" "arm64-v8a" ]; - - includeNDK = true; - ndkVersions = [ "29.0.14206865" ]; - }; - in - { - devShells.default = pkgs.mkShell { - buildInputs = [ - pkgs.android-studio - androidComposition.androidsdk - pkgs.jdk21 # Taler builds utilize JDK 21 - pkgs.nodejs # Required for fetching/processing wallet-core JS modules - pkgs.git - pkgs.steam-run - pkgs.libxcb - pkgs.libxcb-cursor - ]; - - shellHook = '' - export ANDROID_HOME="${androidComposition.androidsdk}/libexec/android-sdk" - export ANDROID_SDK_ROOT="$ANDROID_HOME" - export ANDROID_NDK_ROOT="$ANDROID_HOME/ndk-bundle" - export JAVA_HOME="${pkgs.jdk21.home}" - - export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin:$PATH" - export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath [ pkgs.xorg.libxcb pkgs.libxcb-cursor ]}:$LD_LIBRARY_PATH" - # Auto-generate local.properties to enforce Nix paths over system ones - echo "sdk.dir=$ANDROID_HOME" > local.properties - echo "ndk.dir=$ANDROID_NDK_ROOT" >> local.properties - - echo "🤖 Taler Android Wallet Shell Active!" - echo "Run './gradlew :wallet:assembleDebug' to build just the wallet." - ''; - }; - } - ); -}