3
0
Fork 0
forked from mirrors/nixpkgs

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

moodle: 3.7.3 -> 3.8
This commit is contained in:
Aaron Andersen 2019-12-01 12:01:54 -05:00 committed by GitHub
commit 987878d221
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.3"; version = "3.8";
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 = "1n82n77lw83a5wjfjbvc74h2ny2z0zkdprxk7sai88rg6rix33ak"; sha256 = "00ssx0drgp1fy062x6alp0x8di7hjn4xc87v8skpy3aznchfxyk9";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''