diff --git a/pkgs/by-name/me/mediawiki/package.nix b/pkgs/by-name/me/mediawiki/package.nix index f5c3544abd52..137a750715aa 100644 --- a/pkgs/by-name/me/mediawiki/package.nix +++ b/pkgs/by-name/me/mediawiki/package.nix @@ -1,33 +1,19 @@ { lib, stdenvNoCC, - fetchpatch, fetchurl, nixosTests, }: stdenvNoCC.mkDerivation rec { pname = "mediawiki"; - version = "1.45.1"; + version = "1.45.3"; src = fetchurl { url = "https://releases.wikimedia.org/mediawiki/${lib.versions.majorMinor version}/mediawiki-${version}.tar.gz"; - hash = "sha256-4vEmsZrsQiBRoKUODGq36QTzOzmIpHudqK+/0MCiUsw="; + hash = "sha256-XqjB8yHJ+Nuk0aweTsoYJ/sTUZ1KIZDiOfUUMgWKQmk="; }; - patches = [ - # Fix installation with postgres - (fetchpatch { - url = "https://gerrit.wikimedia.org/r/changes/mediawiki%2Fcore~1231289/revisions/4/patch?download"; - decode = "base64 -d"; - postFetch = '' - substituteInPlace $out \ - --replace "/Installer/" "/installer/" - ''; - hash = "sha256-bhfw5CW4EEpr2GTGda3va+EmM/vK6AqBfyoCcsSiqNQ="; - }) - ]; - postPatch = '' substituteInPlace includes/installer/CliInstaller.php \ --replace-fail '$vars = Installer::getExistingLocalSettings();' '$vars = null;'