nixpkgs/pkgs/development/mobile/androidenv/support-repository.nix
taku0 dd89ec5785 Bump Android packages to newest versions, add androidsdk_5_1_1 and androidsdk_5_1_1_extras to env
Detailed changes:
- android-sdk: update 24.0.1 -> 24.1.2
- android-platforms: add 5.1.1
- android-platform-tools: update 21 -> 22
- android-build-tools: update 21.1.2 -> 22.0.1
- android-support: update 21 -> 22.1.1
- android-support-repository: update 9 -> 14
2015-05-02 22:15:29 +09:00

19 lines
412 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
version = "14";
name = "android-support-repository-r${version}";
src = fetchurl {
url = "http://dl-ssl.google.com/android/repository/android_m2repository_r${version}.zip";
sha256 = "027mmfzvs07nbp28vn6c6cgszqdrmmgwdfzda87936lpi5dwg34p";
};
buildCommand = ''
mkdir -p $out
cd $out
unzip $src
'';
buildInputs = [ unzip ];
}