Skip to content

Commit

Permalink
factorio-space-age: init at 2.0.7
Browse files Browse the repository at this point in the history
(cherry picked from commit 5579fe3)
  • Loading branch information
lukegb authored and bmillwood committed Oct 21, 2024
1 parent 6a3f6eb commit 23e38ae
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/games/factorio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

assert releaseType == "alpha"
|| releaseType == "headless"
|| releaseType == "demo";
|| releaseType == "demo"
|| releaseType == "expansion";

let

Expand Down Expand Up @@ -272,6 +273,7 @@ let
cp -a doc-html $out/share/factorio
'';
};
expansion = alpha;
};

in
Expand Down
1 change: 1 addition & 0 deletions pkgs/games/factorio/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ReleaseChannel:

RELEASE_TYPES = [
ReleaseType("alpha", needs_auth=True),
ReleaseType("expansion", needs_auth=True),
ReleaseType("demo"),
ReleaseType("headless"),
]
Expand Down
18 changes: 18 additions & 0 deletions pkgs/games/factorio/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,24 @@
"version": "1.1.107"
}
},
"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",
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36637,6 +36637,10 @@ with pkgs;

factorio-demo = factorio.override { releaseType = "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 { };
Expand Down

0 comments on commit 23e38ae

Please sign in to comment.