2014-08-02 03:26:21 +02:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 15:15:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2017-08-05 15:22:18 +02:00
|
|
|
version = "47";
|
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";
|
2017-08-05 15:22:18 +02:00
|
|
|
sha256 = "1l13a6myff6i8x99h1ky2j5sglwy8wc0rsbxfcbif375vh41iyd3";
|
2014-08-02 03:26:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cd $out
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
}
|