1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/mobile/androidenv/support-repository.nix
2016-07-25 20:47:39 +01:00

19 lines
386 B
Nix

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