moodle: 4.1.4 -> 4.3 (#260399)

This commit is contained in:
R. RyanTM 2023-10-22 03:45:17 -07:00 committed by GitHub
parent 7b0da5c46b
commit 6b51d202ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }: { lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:
let let
version = "4.1.4"; version = "4.3";
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/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz"; url = "https://download.moodle.org/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz";
hash = "sha256-mfJV5KHOG401N8gHFWYygsRRVnlWyn0SojD1H5KAvPQ="; hash = "sha256-zLBFUyadpsqGeEhBCPrh3KKWn6f3zCy64YxTBMLIGsk=";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''