1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/mobile/androidenv/support.nix

19 lines
379 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
version = "23.0.1";
name = "android-support-r${version}";
src = fetchurl {
url = "https://dl.google.com/android/repository/support_r${version}.zip";
sha1 = "fbe529716943053d0ce0d7f058d79f1a848cdff9";
};
buildCommand = ''
mkdir -p $out
cd $out
unzip $src
'';
buildInputs = [ unzip ];
}