From 880de276da865ca253c88b1a84a1a430e61e2b51 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 21 Oct 2024 23:25:14 +0200 Subject: [PATCH] factorio: Can't wait for the PR... --- overlays/default.nix | 1 + overlays/factorio.json | 58 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 overlays/factorio.json diff --git a/overlays/default.nix b/overlays/default.nix index cea48ba..46f3bc2 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -23,4 +23,5 @@ _final: prev: { peakperf = prev.pkgs.callPackage ../pkgs/peakperf { enableCuda = false; # peakperf needs cuda-samples, which is not available in current CUDA. CUDA 11 is broken due to CVEs in freeimage }; + factorio = prev.factorio.override { versionsJson = ./factorio.json; }; } diff --git a/overlays/factorio.json b/overlays/factorio.json new file mode 100644 index 0000000..5d7f077 --- /dev/null +++ b/overlays/factorio.json @@ -0,0 +1,58 @@ +{ + "x86_64-linux": { + "alpha": { + "experimental": { + "name": "factorio_alpha_x64-2.0.7.tar.xz", + "needsAuth": true, + "sha256": "14gsl01j06d0cfii2zsp0njak3hf8kgb9ig9i3prbch507bmfw6q", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/alpha/linux64", + "version": "2.0.7" + }, + "stable": { + "name": "factorio_alpha_x64-2.0.7.tar.xz", + "needsAuth": true, + "sha256": "14gsl01j06d0cfii2zsp0njak3hf8kgb9ig9i3prbch507bmfw6q", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/alpha/linux64", + "version": "2.0.7" + } + }, + "demo": { + "experimental": { + "name": "factorio_demo_x64-1.1.110.tar.xz", + "needsAuth": false, + "sha256": "0dasxgrybl00vrabgrlarsvg0hdg5rvn3y4hsljhqc4zpbf93nxx", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/1.1.110/demo/linux64", + "version": "1.1.110" + }, + "stable": { + "name": "factorio_demo_x64-1.1.110.tar.xz", + "needsAuth": false, + "sha256": "0dasxgrybl00vrabgrlarsvg0hdg5rvn3y4hsljhqc4zpbf93nxx", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/1.1.110/demo/linux64", + "version": "1.1.110" + } + }, + "headless": { + "experimental": { + "name": "factorio_headless_x64-2.0.7.tar.xz", + "needsAuth": false, + "sha256": "0qi7vypm4iy3cp9qyl3cvvm606g9g37sa2pls4y7glxiwng4m9p6", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/headless/linux64", + "version": "2.0.7" + }, + "stable": { + "name": "factorio_headless_x64-2.0.7.tar.xz", + "needsAuth": false, + "sha256": "0qi7vypm4iy3cp9qyl3cvvm606g9g37sa2pls4y7glxiwng4m9p6", + "tarDirectory": "x64", + "url": "https://factorio.com/get-download/2.0.7/headless/linux64", + "version": "2.0.7" + } + } + } +}