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