2012-11-07 21:10:39 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 15:15:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-06-19 04:26:34 +02:00
|
|
|
version = "23.2.1";
|
2015-05-02 15:15:29 +02:00
|
|
|
name = "android-support-r${version}";
|
2012-11-07 21:10:39 +01:00
|
|
|
src = fetchurl {
|
2015-10-06 14:27:49 +02:00
|
|
|
url = "https://dl.google.com/android/repository/support_r${version}.zip";
|
2016-06-19 04:26:34 +02:00
|
|
|
sha1 = "azl7hgps1k98kmbhw45wwbrc86y1n4j1";
|
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
|
|
|
}
|