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 ];
}