mediawiki: 1.39.1 -> 1.39.2

https://www.mediawiki.org/wiki/Release_notes/1.39
This commit is contained in:
Thomas Gerbet 2023-02-25 12:42:33 +01:00
parent f783f4a353
commit 19c7b80ba0

View File

@ -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;