Merge pull request #14126 from mpscholten/factorio

factorio: 0.12.20 -> 0.12.28
This commit is contained in:
joachifm 2016-04-08 02:23:24 +02:00
commit fdf8e2a197

View File

@ -1,13 +1,13 @@
{ stdenv, callPackage, fetchurl, makeWrapper { stdenv, callPackage, fetchurl, makeWrapper
# Begin libraries # Begin libraries
, alsaLib, libX11, libXcursor, libXinerama, libXrandr, libXi , alsaLib, libX11, libXcursor, libXinerama, libXrandr, libXi, mesa_noglu
# Begin download parameters # Begin download parameters
, username ? "" , username ? ""
, password ? "" , password ? ""
}: }:
let let
version = "0.12.20"; version = "0.12.28";
fetch = callPackage ./fetch.nix { username = username; password = password; }; fetch = callPackage ./fetch.nix { username = username; password = password; };
arch = if stdenv.system == "x86_64-linux" then "x64" arch = if stdenv.system == "x86_64-linux" then "x64"
@ -17,12 +17,12 @@ let
variants = { variants = {
x64 = { x64 = {
url = "https://www.factorio.com/get-download/${version}/alpha/linux64"; url = "https://www.factorio.com/get-download/${version}/alpha/linux64";
sha256 = "1xpzrx3q678519qgjl92fxn3qv55hd188x9jp6dcfk2ljhi1gmqk"; sha256 = "01si5n9hb2h0c5q8k3hr3nphsakp9kki84qyp70dgddwqsn8wfjl";
}; };
x32 = { x32 = {
url = "https://www.factorio.com/get-download/${version}/alpha/linux32"; url = "https://www.factorio.com/get-download/${version}/alpha/linux32";
sha256 = "1dl1dsp4nni5nda437ckyw1ss6w168g19v51h7cdvb3cgsdb7sab"; sha256 = "13h013ixyhv4rpvh0jv5jry3mrwv65v57nqn16bjh3hr8ip70lkq";
}; };
}; };
in in
@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
libXinerama libXinerama
libXrandr libXrandr
libXi libXi
mesa_noglu
]; ];
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];