nixpkgs/pkgs/servers/web-apps/wordpress/default.nix
Martin Weinelt 3bc4b4d843
wordpress: 5.4 → 5.4.1
Fixes: CVE-2020-11030, CVE-2020-11029, CVE-2020-11028, CVE-2020-11027, CVE-2020-11026, CVE-2020-11025
2020-05-06 15:08:17 +02:00

24 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;
};
}