Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 18 lines 371 B view raw
1{stdenv, fetchurl, unzip}: 2 3stdenv.mkDerivation rec { 4 version = "23.2.1"; 5 name = "android-support-r${version}"; 6 src = fetchurl { 7 url = "https://dl.google.com/android/repository/support_r${version}.zip"; 8 sha1 = "azl7hgps1k98kmbhw45wwbrc86y1n4j1"; 9 }; 10 11 buildCommand = '' 12 mkdir -p $out 13 cd $out 14 unzip $src 15 ''; 16 17 buildInputs = [ unzip ]; 18}