2012-11-07 20:10:39 +00:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-31 15:00:57 +01:00
|
|
|
name = "android-support-r18";
|
2012-11-07 20:10:39 +00:00
|
|
|
src = fetchurl {
|
2013-07-31 15:00:57 +01:00
|
|
|
url = https://dl-ssl.google.com/android/repository/support_r18.zip;
|
|
|
|
sha1 = "bd67b4b8a6bac629f24c8aea75c3619a26d9a568";
|
2012-11-07 20:10:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cd $out
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
}
|