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