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