2014-08-02 02:26:21 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 14:15:29 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-18 11:02:23 +01:00
|
|
|
version = "24";
|
2015-05-02 14:15:29 +01:00
|
|
|
name = "android-support-repository-r${version}";
|
2014-08-02 02:26:21 +01:00
|
|
|
src = fetchurl {
|
2015-10-06 13:27:49 +01:00
|
|
|
url = "http://dl.google.com/android/repository/android_m2repository_r${version}.zip";
|
2015-10-18 11:02:23 +01:00
|
|
|
sha1 = "5b6d328a572172ec51dc25c3514392760e49bb81";
|
2014-08-02 02:26:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cd $out
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
}
|