Merge pull request #68417 from aanderse/moodle

moodle: 3.7.1 -> 3.7.2
This commit is contained in:
Aaron Andersen 2019-09-10 20:25:22 -04:00 committed by GitHub
commit 6aea38b976
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.7.1"; version = "3.7.2";
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 = "0xfriw0nfaf9hlcjviwg2acwpd192jf2ahw8sw3s6bj3pr1isxmd"; sha256 = "1mvrmpqkcz7m7yplqi0lwgnal79n747f7nwcgd2nfrvz7jv3s8ir";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''