2012-11-07 21:10:39 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 15:15:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "22.1.1";
|
|
|
|
name = "android-support-r${version}";
|
2012-11-07 21:10:39 +01:00
|
|
|
src = fetchurl {
|
2015-05-02 15:15:29 +02:00
|
|
|
url = "https://dl-ssl.google.com/android/repository/support_r${version}.zip";
|
|
|
|
sha1 = "jifv8yjg5jrycf8zd0lfsra00yscggc8";
|
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
|
|
|
}
|