2012-11-07 21:10:39 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-12-16 08:22:55 +01:00
|
|
|
name = "android-support-r21";
|
2012-11-07 21:10:39 +01:00
|
|
|
src = fetchurl {
|
2014-12-16 08:22:55 +01:00
|
|
|
url = https://dl-ssl.google.com/android/repository/support_r21.zip;
|
|
|
|
sha1 = "f9ef8def5c64f17cd8bc41c5efddd37cb155f0be";
|
2012-11-07 21:10:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cd $out
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
2014-12-16 08:22:55 +01:00
|
|
|
}
|