mediawiki: fix FOD hash, widen dependency pinning

This commit is contained in:
Sandro - 2023-07-10 23:54:04 +02:00
parent 128fb86549
commit 8888888422
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 14 additions and 5 deletions

View File

@ -154,13 +154,22 @@ in
# TODO: replace with https://www.mediawiki.org/wiki/Extension:DynamicPageList3
intersection = pkgs.fetchzip {
url = "https://web.archive.org/web/20230710142223/https://extdist.wmflabs.org/dist/extensions/intersection-REL1_40-f3c1559.tar.gz";
sha256 = "sha256-DYq5CCm//rc6Mei9K6S2Ue+hzz6PYHnwpbJouFS5j+o=";
sha256 = "sha256-/Ap56EOfsAlx/gkN8Y+NdU28yuZsZmrrBMmuNoi88/A=";
};
# requires PluggableAuth
LDAPAuthentication2 = pkgs.fetchzip {
url = "https://web.archive.org/web/20230710142325/https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_40-2864ae9.tar.gz";
sha256 = "sha256-LWXpmgzUpgEaPe/4cwF2cmJxPkW8ywT7gRAlB58mDfY=";
};
LDAPAuthentication2 =
let
src = pkgs.fetchzip {
url = "https://web.archive.org/web/20230710142325/https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_40-2864ae9.tar.gz";
sha256 = "sha256-LWXpmgzUpgEaPe/4cwF2cmJxPkW8ywT7gRAlB58mDfY=";
};
in
# TODO: remove with next release
pkgs.runCommand "LDAPAuthentication2" { } ''
mkdir $out
cp -r ${src}/* $out
sed 's/"PluggableAuth": "6.*"/"PluggableAuth": "*"/g' -i $out/extension.json
'';
LDAPProvider = pkgs.fetchzip {
url = "https://web.archive.org/web/20230710141035/https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_40-99edc23.tar.gz";
sha256 = "sha256-DYq5CCm//rc6Mei9K6S2Ue+hzz6PYHnwpbJouFS5j+o=";