diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index c9d7eb3439bc..8aaa436b86a6 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -29,7 +29,8 @@ assert releaseType == "alpha" || releaseType == "headless" - || releaseType == "demo"; + || releaseType == "demo" + || releaseType == "expansion"; let @@ -272,6 +273,7 @@ let cp -a doc-html $out/share/factorio ''; }; + expansion = alpha; }; in diff --git a/pkgs/games/factorio/update.py b/pkgs/games/factorio/update.py index c234b36264e8..6da1d9dfee7d 100755 --- a/pkgs/games/factorio/update.py +++ b/pkgs/games/factorio/update.py @@ -55,6 +55,7 @@ class ReleaseChannel: RELEASE_TYPES = [ ReleaseType("alpha", needs_auth=True), + ReleaseType("expansion", needs_auth=True), ReleaseType("demo"), ReleaseType("headless"), ] diff --git a/pkgs/games/factorio/versions.json b/pkgs/games/factorio/versions.json index 5d7f07777274..3c4139657b68 100644 --- a/pkgs/games/factorio/versions.json +++ b/pkgs/games/factorio/versions.json @@ -36,6 +36,24 @@ "version": "1.1.110" } }, + "expansion": { + "experimental": { + "name": "factorio_expansion_x64-2.0.7.tar.xz", + "needsAuth": true, + "sha256": "1zvk1skkm37kyikq4l1q285l8zhxc6lqvs1x2y2ccxwd4cdm6r96", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/expansion/linux64", + "version": "2.0.7" + }, + "stable": { + "name": "factorio_expansion_x64-2.0.7.tar.xz", + "needsAuth": true, + "sha256": "1zvk1skkm37kyikq4l1q285l8zhxc6lqvs1x2y2ccxwd4cdm6r96", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/expansion/linux64", + "version": "2.0.7" + } + }, "headless": { "experimental": { "name": "factorio_headless_x64-2.0.7.tar.xz", diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9465250eb613..aecb4bc75181 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36651,6 +36651,10 @@ with pkgs; # there is no factorio_2-demo + factorio-space-age = factorio.override { releaseType = "expansion"; }; + + factorio-space-age-experimental = factorio.override { releaseType = "expansion"; experimental = true; }; + factorio-mods = callPackage ../games/factorio/mods.nix { }; factorio-utils = callPackage ../games/factorio/utils.nix { };