lol
0
fork

Configure Feed

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

at release-16.03-start 33 lines 551 B view raw
1{ stdenv, curl 2# Begin download parameters 3, username ? "" 4, password ? "" 5}: 6 7{ 8 # URL to fetch. 9 url ? "" 10 11 # Login URL. 12, loginUrl ? "https://www.factorio.com/login" 13 14 # SHA256 of the fetched URL. 15, sha256 ? "" 16}: 17 18stdenv.mkDerivation { 19 name = "factorio.tar.gz"; 20 21 buildInputs = [ curl ]; 22 23 inherit url loginUrl username password; 24 25 builder = ./fetch.sh; 26 27 outputHashAlgo = "sha256"; 28 outputHash = sha256; 29 outputHashMode = "flat"; 30 31 # There's no point in downloading remotely, we'd just slow things down. 32 preferLocalBuild = true; 33}