Merge pull request #91411 from mweinelt/wordpress

wordpress: 5.4.1 -> 5.4.2
This commit is contained in:
Daniël de Kok 2020-06-26 17:40:30 +02:00 committed by GitHub
commit 7287a36e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, nixosTests }:
stdenv.mkDerivation rec {
pname = "wordpress";
version = "5.4.1";
version = "5.4.2";
src = fetchurl {
url = "https://wordpress.org/${pname}-${version}.tar.gz";
sha256 = "0i9ndfhm9iwilqwbqs3dngmzzjmazw4vwbyccjabs3zmzliis6vv";
sha256 = "1pnl11yws2r2d5dfq0z85zcy5ilvm298bfs7h9z1sjakkwkh5sph";
};
installPhase = ''
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
cp -r . $out/share/wordpress
'';
passthru.tests = {
inherit (nixosTests) wordpress;
};
meta = with stdenv.lib; {
homepage = "https://wordpress.org";
description = "WordPress is open source software you can use to create a beautiful website, blog, or app";