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