summary refs log tree commit diff
path: root/pkgs/development/mobile/androidenv/support.nix
blob: d9d24f9bf9f403d63eb6d36886d85314524e5af0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{stdenv, fetchurl, unzip}:

stdenv.mkDerivation {
  name = "android-support-r21";
  src = fetchurl {
    url = https://dl-ssl.google.com/android/repository/support_r21.zip;
    sha1 = "f9ef8def5c64f17cd8bc41c5efddd37cb155f0be";
  };
  
  buildCommand = ''
    mkdir -p $out
    cd $out
    unzip $src
  '';
  
  buildInputs = [ unzip ];
}