Merge pull request #116021 from r-ryantm/auto-update/moodle

moodle: 3.10.1 -> 3.10.2
This commit is contained in:
Sandro 2021-03-12 10:28:27 +01:00 committed by GitHub
commit 93f1db30f7
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.10.1"; version = "3.10.2";
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 {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
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-VHlz8twsp7mSwZPatJkciHaDOP0r0EudeG5i3gjPUT8="; sha256 = "sha256-s20GtwqV1BAVr2q+DxG6hqKnDqM0dVm6TbokmPC8Hrs=";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''