moodle: 4.1.2 -> 4.1.3

Fixes CVE-2023-30943 and CVE-2023-30944.

https://moodledev.io/general/releases/4.1/4.1.3
This commit is contained in:
Thomas Gerbet 2023-05-18 18:47:56 +02:00
parent 203c6beae7
commit 1e39b542b9

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:
let
version = "4.1.2";
version = "4.1.3";
versionParts = lib.take 2 (lib.splitVersion version);
# 4.2 -> 402, 3.11 -> 311
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
sha256 = "sha256-ddXldOQLefV6Kjla+IeFwD50Vye4kholJD5R6X6A2Og=";
hash = "sha256-JMK+nGgeBryC6I9cg1DD52gIGcPMAJ/xZxrC4a1R5Ps=";
};
phpConfig = writeText "config.php" ''