2022-12-17 10:02:37 +00:00
|
|
|
{ config, pkgs ? import <nixpkgs> {}
|
2023-03-04 12:14:45 +00:00
|
|
|
, licenseAccepted ? config.android_sdk.accept_license or (builtins.getEnv "NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE" == "1")
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rec {
|
2022-12-17 10:02:37 +00:00
|
|
|
composeAndroidPackages = pkgs.callPackage ./compose-android-packages.nix {
|
|
|
|
inherit licenseAccepted;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
buildApp = pkgs.callPackage ./build-app.nix {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit composeAndroidPackages;
|
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
emulateApp = pkgs.callPackage ./emulate-app.nix {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit composeAndroidPackages;
|
|
|
|
};
|
|
|
|
|
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
|
|
platformVersions = [ "28" ];
|
|
|
|
abiVersions = [ "x86" "x86_64"];
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
test-suite = pkgs.callPackage ./test-suite.nix {};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|