Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

42 lines
1.1 KiB
Nix

{
lib,
pkgs ? import <nixpkgs> { },
licenseAccepted ? pkgs.callPackage ./license.nix { },
}:
lib.recurseIntoAttrs rec {
composeAndroidPackages = pkgs.callPackage ./compose-android-packages.nix {
inherit licenseAccepted meta;
};
buildApp = pkgs.callPackage ./build-app.nix {
inherit composeAndroidPackages meta;
};
emulateApp = pkgs.callPackage ./emulate-app.nix {
inherit composeAndroidPackages meta;
};
androidPkgs = composeAndroidPackages {
# Support roughly the last 5 years of Android packages and system images by default in nixpkgs.
numLatestPlatformVersions = 5;
includeEmulator = "if-supported";
includeSystemImages = "if-supported";
includeNDK = "if-supported";
};
test-suite = pkgs.callPackage ./test-suite.nix {
inherit meta;
};
inherit (test-suite) passthru;
meta = {
homepage = "https://developer.android.com/tools";
description = "Android SDK tools, packaged in Nixpkgs";
license = lib.licenses.unfree;
platforms = lib.platforms.all;
teams = [ lib.teams.android ];
};
}