moodle: 4.1.3 -> 4.1.4

Fixes CVE-2023-35131, CVE-2023-35132 and CVE-2023-35133.

Changelog:
https://moodledev.io/general/releases/4.1/4.1.4
This commit is contained in:
Thomas Gerbet
2023-07-08 09:40:39 +02:00
parent ec27e62ce8
commit fdb8abb3cd
+3 -3
View File
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:
let
version = "4.1.3";
version = "4.1.4";
versionParts = lib.take 2 (lib.splitVersion version);
# 4.2 -> 402, 3.11 -> 311
@@ -14,8 +14,8 @@ in stdenv.mkDerivation rec {
inherit version;
src = fetchurl {
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
hash = "sha256-JMK+nGgeBryC6I9cg1DD52gIGcPMAJ/xZxrC4a1R5Ps=";
url = "https://download.moodle.org/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz";
hash = "sha256-mfJV5KHOG401N8gHFWYygsRRVnlWyn0SojD1H5KAvPQ=";
};
phpConfig = writeText "config.php" ''