moodle: 3.9.2 -> 3.10.0
This commit is contained in:
parent
92781c27bd
commit
f3ba4b1bcd
@ -1,8 +1,8 @@
|
|||||||
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
|
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.9.2";
|
version = "3.10";
|
||||||
stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version);
|
stableVersion = lib.concatStrings (lib.take 2 (lib.splitVersion version));
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "moodle";
|
pname = "moodle";
|
||||||
@ -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 = "ygy9xlYs49Ga3u2Q/vqxhnDnqXsrh6YYTAtcsXF8kNo=";
|
sha256 = "4aYKZmXym1Tq/462PIgJb4sHGUclEkU0Ok1iQJ6u0aw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpConfig = writeText "config.php" ''
|
phpConfig = writeText "config.php" ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user