2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 14:43:37 +00:00
nixpkgs/pkgs/development/mobile/androidenv/support.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 ];
}