aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/depotdownloader-json/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'srcds-pkgs/depotdownloader-json/default.nix')
-rw-r--r--srcds-pkgs/depotdownloader-json/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/srcds-pkgs/depotdownloader-json/default.nix b/srcds-pkgs/depotdownloader-json/default.nix
index 7fb5935..dce910b 100644
--- a/srcds-pkgs/depotdownloader-json/default.nix
+++ b/srcds-pkgs/depotdownloader-json/default.nix
@@ -90,6 +90,18 @@ else if builtins.elem version [ "2.7.4" ] then
./2_7/0003-thats-just-like-your-opinion-man.patch
];
}
+else if builtins.elem version [ "3.1.0" ] then
+ {
+ patches = [
+ ./2_7/0001-ProtoManifest-sort-files-in-constructor.patch
+ # they changed how they do their own serialisation. seeing as it's
+ # plain text now, it could make sense to just parse it ourselves and
+ # crank out our own json, and sort for reproducibility on our end too,
+ # but whatever, that's a flight of fancy for someone who cares
+ ./3_1/0002-ContentDownloader-save-manifest-as-json-also.patch
+ ./2_7/0003-thats-just-like-your-opinion-man.patch
+ ];
+ }
else builtins.abort "version of DepotDownloader not covered by patches"
)