mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
9c4e43ab70
- Replace cmdline-tools with tools because tools is obsolete now. - Depend emulator package to systemImages androidenv: fix issues on the PR androidenv: reformat androidenv: support excluding of `tools` package androidenv: provide `tools`, and `build-tools`, dependencies androidenv: replace includeTools with toolsVersion androidenv: fix a typo androidenv: add tests to check licenses and installed packages androidenv: check if tests are running! this commit should fail! androidenv: fix problems in the review https://github.com/NixOS/nixpkgs/pull/208793 androidenv: add test-suite to handle more tests around androidenv: fix the test after couldn't running them with ofborg Update pkgs/development/mobile/androidenv/build-tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> androidenv: Resolving https://github.com/NixOS/nixpkgs/pull/208793#discussion_r1065851539 Update pkgs/development/mobile/androidenv/cmdline-tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/mobile/androidenv/tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> androidenv: fix a typo
25 lines
582 B
Nix
25 lines
582 B
Nix
{ config, pkgs ? import <nixpkgs> {}
|
|
, licenseAccepted ? config.android_sdk.accept_license or false
|
|
}:
|
|
|
|
rec {
|
|
composeAndroidPackages = pkgs.callPackage ./compose-android-packages.nix {
|
|
inherit licenseAccepted;
|
|
};
|
|
|
|
buildApp = pkgs.callPackage ./build-app.nix {
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
emulateApp = pkgs.callPackage ./emulate-app.nix {
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
platformVersions = [ "28" ];
|
|
abiVersions = [ "x86" "x86_64"];
|
|
};
|
|
|
|
test-suite = pkgs.callPackage ./test-suite.nix {};
|
|
}
|