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

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