From 7f0f97c06245b21a51210054e25fceab4b577cea Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Sep 2016 04:45:37 +0200 Subject: simplify factorio again --- customized/factorio-fetch.nix | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 customized/factorio-fetch.nix (limited to 'customized/factorio-fetch.nix') diff --git a/customized/factorio-fetch.nix b/customized/factorio-fetch.nix deleted file mode 100644 index 4b9b9995..00000000 --- a/customized/factorio-fetch.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ stdenv, curl, xidel, cacert -# Begin download parameters -, username ? "" -, password ? "" -}: - -{ - # URL to fetch. - url ? "" - - # Login URL. -, loginUrl ? "https://www.factorio.com/login" - - # SHA256 of the fetched URL. -, sha256 ? "" -, name -}: - -stdenv.mkDerivation { - buildInputs = [ curl xidel ]; - - inherit name url loginUrl username password cacert; - - builder = ./fetch.sh; - - outputHashAlgo = "sha256"; - outputHash = sha256; - outputHashMode = "flat"; - - # There's no point in downloading remotely, we'd just slow things down. - preferLocalBuild = true; -} -- cgit v1.2.3