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

moodle: 3.8.3 -> 3.9
This commit is contained in:
Aaron Andersen 2020-07-06 07:25:02 -04:00 committed by GitHub
commit 206eb297ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, writeText }: { stdenv, fetchurl, writeText }:
let let
version = "3.8.3"; version = "3.9";
stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version); stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version);
in in
@ -11,7 +11,7 @@ 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 = "1anjv4gvbb6833j04a1b4aaysnl4h0x96sr1hhm4nm5kq2fimjd1"; sha256 = "1splsxdxzwf49zxrdb4q05fj60agqyzv0ikvk05gaf49qqd8rznz";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''