mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
19 lines
394 B
Nix
19 lines
394 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "40";
|
|
name = "android-support-repository-r${version}";
|
|
src = fetchurl {
|
|
url = "http://dl.google.com/android/repository/android_m2repository_r${version}.zip";
|
|
sha1 = "782e7233f18c890463e8602571d304e680ce354c";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p $out
|
|
cd $out
|
|
unzip $src
|
|
'';
|
|
|
|
buildInputs = [ unzip ];
|
|
}
|