diff --git a/pkgs/servers/web-apps/mediawiki/default.nix b/pkgs/servers/web-apps/mediawiki/default.nix index e9b8c01614e8..7994d81f97a7 100644 --- a/pkgs/servers/web-apps/mediawiki/default.nix +++ b/pkgs/servers/web-apps/mediawiki/default.nix @@ -1,12 +1,12 @@ -{ lib, stdenv, fetchurl, writeText }: +{ lib, stdenv, fetchurl, writeText, nixosTests }: stdenv.mkDerivation rec { pname = "mediawiki"; - version = "1.39.1"; + version = "1.39.2"; src = fetchurl { url = "https://releases.wikimedia.org/mediawiki/${lib.versions.majorMinor version}/mediawiki-${version}.tar.gz"; - sha256 = "sha256-3ew/kOHnsaxmgZF4yoEDfT+AhNxXfUq3cypLj5gNhfk="; + sha256 = "sha256-3bUdIooZymjNiHHYUBdfa+9Gh0R27RRm8BXPmEbZx6U="; }; postPatch = '' @@ -29,6 +29,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.tests.mediawiki = nixosTests.mediawiki; + meta = with lib; { description = "The collaborative editing software that runs Wikipedia"; license = licenses.gpl2Plus;