25 lines
697 B
Nix
25 lines
697 B
Nix
{
|
|
description = "A Flake for the Android SDK";
|
|
|
|
inputs = {
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
android-nixpkgs.url = "github:tadfisher/android-nixpkgs/stable";
|
|
};
|
|
|
|
outputs = { self, flake-utils, android-nixpkgs }:
|
|
flake-utils.lib.eachSystem ["x86_64-linux" "x86_64-darwin" "aarch64-darwin"] (system: {
|
|
packages.android-sdk = android-nixpkgs.sdk."${system}" (sdkPkgs: with sdkPkgs; [
|
|
cmdline-tools-latest
|
|
build-tools-33-0-0
|
|
build-tools-34-0-0
|
|
build-tools-35-0-0
|
|
cmake-3-22-1
|
|
platform-tools
|
|
platforms-android-33
|
|
platforms-android-34
|
|
platforms-android-35
|
|
emulator
|
|
ndk-27-0-12077973
|
|
]);
|
|
});
|
|
}
|