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:
commit
987878d221
|
@ -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" ''
|
||||||
|
|
Loading…
Reference in a new issue