3bc4b4d843
Fixes: CVE-2020-11030, CVE-2020-11029, CVE-2020-11028, CVE-2020-11027, CVE-2020-11026, CVE-2020-11025
25 lines
640 B
Nix
25 lines
640 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wordpress";
|
|
version = "5.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://wordpress.org/${pname}-${version}.tar.gz";
|
|
sha256 = "0i9ndfhm9iwilqwbqs3dngmzzjmazw4vwbyccjabs3zmzliis6vv";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/wordpress
|
|
cp -r . $out/share/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";
|
|
license = [ licenses.gpl2 ];
|
|
maintainers = [ maintainers.basvandijk ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|