mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-01-03 14:43:09 +00:00
The assert for Android NDK is obsolete. But we also can avoid fetching the Android dependencies when not building for Android. Also, lsb-release is a linux-only tool. Signed-off-by: Jakub Sokołowski <jakub@status.im>
24 lines
602 B
Nix
24 lines
602 B
Nix
#
|
|
# This Nix expression centralizes the configuration
|
|
# for the Android development environment.
|
|
#
|
|
|
|
{ androidenv, lib, stdenv }:
|
|
|
|
# The "android-sdk-license" license is accepted
|
|
# by setting android_sdk.accept_license = true.
|
|
androidenv.composeAndroidPackages {
|
|
cmdLineToolsVersion = "9.0";
|
|
toolsVersion = "26.1.1";
|
|
platformToolsVersion = "34.0.5";
|
|
buildToolsVersions = [ "34.0.0" ];
|
|
platformVersions = [ "34" ];
|
|
cmakeVersions = [ "3.22.1" ];
|
|
ndkVersion = "27.2.12479018";
|
|
includeNDK = true;
|
|
includeExtras = [
|
|
"extras;android;m2repository"
|
|
"extras;google;m2repository"
|
|
];
|
|
}
|