lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 36 lines 778 B view raw
1{ stdenv, curl, adc_user, adc_pass }: 2 3{ # Path to fetch. 4 path 5 6 # Hash of the downloaded file 7, sha256 8 9, # Additional curl options needed for the download to succeed. 10 curlOpts ? "" 11 12, # Name of the file. If empty, use the basename of `path'. 13 name ? "" 14}: 15 16stdenv.mkDerivation { 17 url = "https://developer.apple.com/downloads/download.action?path=${path}"; 18 19 name = if name != "" then name else baseNameOf path; 20 builder = ./builder.sh; 21 22 buildInputs = [ curl ]; 23 24 meta = { 25 # Password-guarded files from ADC are certainly unfree, as far as we're concerned! 26 license = stdenv.lib.licenses.unfree; 27 }; 28 29 outputHashAlgo = "sha256"; 30 outputHash = sha256; 31 outputHashMode = "flat"; 32 33 inherit curlOpts adc_user adc_pass; 34 35 preferLocalBuild = true; 36}