moodle: 3.11.2 -> 3.11.4 (#145172)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Finn Behrens 2021-11-10 01:22:12 +01:00 committed by GitHub
parent 5fb426179a
commit 6db345c50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }: { lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
let let
version = "3.11.2"; version = "3.11.4";
stableVersion = lib.concatStrings (lib.take 2 (lib.splitVersion version)); stableVersion = lib.concatStrings (lib.take 2 (lib.splitVersion version));
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -9,9 +9,8 @@ in stdenv.mkDerivation rec {
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
"https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz"; sha256 = "sha256-OPTImFgXuRK7bxK8KCan68/5D43qUOEK+TcC/9VQxu8=";
sha256 = "sha256-owe/8CVz7+uBrHJQDN4csWVcdk49AvT1ip88lAe/tKg=";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''