2012-11-07 20:10:39 +00:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 14:15:29 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-18 11:02:23 +01:00
|
|
|
version = "23.1";
|
2015-05-02 14:15:29 +01:00
|
|
|
name = "android-support-r${version}";
|
2012-11-07 20:10:39 +00:00
|
|
|
src = fetchurl {
|
2015-10-06 13:27:49 +01:00
|
|
|
url = "https://dl.google.com/android/repository/support_r${version}.zip";
|
2015-10-18 11:02:23 +01:00
|
|
|
sha1 = "c43a56fcd1c2aa620f6178a0ef529623ed77b3c7";
|
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
|
|
|
}
|