moodle: 4.0.4 -> 4.0.5
Fixes CVE-2022-45149, CVE-2022-45150 and CVE-2022-45151. https://moodledev.io/general/releases/4.0/4.0.5
This commit is contained in:
parent
1e9a2769cd
commit
ee382fe49f
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
|
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.0.4";
|
version = "4.0.5";
|
||||||
|
|
||||||
versionParts = lib.take 2 (lib.splitVersion version);
|
versionParts = lib.take 2 (lib.splitVersion version);
|
||||||
# 4.2 -> 402, 3.11 -> 311
|
# 4.2 -> 402, 3.11 -> 311
|
||||||
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
|
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
|
||||||
sha256 = "sha256-mwfUTMjNj9BKqIFezaekUtR9lwAMmsHaAUt6rkqfW8k=";
|
sha256 = "sha256-m4LyAg/C/ZV3nBD4gNFNjwI6glg7ZAH2nSGg0mU2DsI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpConfig = writeText "config.php" ''
|
phpConfig = writeText "config.php" ''
|
||||||
|
|
Loading…
Reference in a new issue