2014-08-02 03:26:21 +02:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2015-05-02 15:15:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "14";
|
|
|
|
name = "android-support-repository-r${version}";
|
2014-08-02 03:26:21 +02:00
|
|
|
src = fetchurl {
|
2015-05-02 15:15:29 +02:00
|
|
|
url = "http://dl-ssl.google.com/android/repository/android_m2repository_r${version}.zip";
|
|
|
|
sha256 = "027mmfzvs07nbp28vn6c6cgszqdrmmgwdfzda87936lpi5dwg34p";
|
2014-08-02 03:26:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cd $out
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
}
|