mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
19 lines
377 B
Nix
19 lines
377 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "23.1";
|
|
name = "android-support-r${version}";
|
|
src = fetchurl {
|
|
url = "https://dl.google.com/android/repository/support_r${version}.zip";
|
|
sha1 = "c43a56fcd1c2aa620f6178a0ef529623ed77b3c7";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p $out
|
|
cd $out
|
|
unzip $src
|
|
'';
|
|
|
|
buildInputs = [ unzip ];
|
|
}
|