moodle: 4.1.4 -> 4.3 (#260399)
This commit is contained in:
parent
7b0da5c46b
commit
6b51d202ea
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:
|
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.1.4";
|
version = "4.3";
|
||||||
|
|
||||||
versionParts = lib.take 2 (lib.splitVersion version);
|
versionParts = lib.take 2 (lib.splitVersion version);
|
||||||
# 4.2 -> 402, 3.11 -> 311
|
# 4.2 -> 402, 3.11 -> 311
|
||||||
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.moodle.org/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz";
|
url = "https://download.moodle.org/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz";
|
||||||
hash = "sha256-mfJV5KHOG401N8gHFWYygsRRVnlWyn0SojD1H5KAvPQ=";
|
hash = "sha256-zLBFUyadpsqGeEhBCPrh3KKWn6f3zCy64YxTBMLIGsk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpConfig = writeText "config.php" ''
|
phpConfig = writeText "config.php" ''
|
||||||
|
|
Loading…
Reference in a new issue