diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2017-03-14 16:11:51 +0100 |
---|---|---|
committer | Joachim Schiele <js@lastlog.de> | 2017-03-14 16:11:51 +0100 |
commit | 308c09d41f309e5055e45c66c07454581945d458 (patch) | |
tree | fae5732f069338de5d7f4f6a3b722d05a038f478 /pkgs/servers/web-apps/wordpress/default.nix | |
parent | e916236130c98c5de723ee742f54b1c22ad6230e (diff) | |
download | nixlib-308c09d41f309e5055e45c66c07454581945d458.tar nixlib-308c09d41f309e5055e45c66c07454581945d458.tar.gz nixlib-308c09d41f309e5055e45c66c07454581945d458.tar.bz2 nixlib-308c09d41f309e5055e45c66c07454581945d458.tar.lz nixlib-308c09d41f309e5055e45c66c07454581945d458.tar.xz nixlib-308c09d41f309e5055e45c66c07454581945d458.tar.zst nixlib-308c09d41f309e5055e45c66c07454581945d458.zip |
wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements (#23837)
* Moved the wordpress sources derivation to the attribute pkgs.wordpress. This makes it easier to override. * Also introduce the `package` option for the wordpress virtual host config which defaults to pkgs.wordpress. * Also fixed the test in nixos/tests/wordpress.nix.
Diffstat (limited to 'pkgs/servers/web-apps/wordpress/default.nix')
-rw-r--r-- | pkgs/servers/web-apps/wordpress/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/wordpress/default.nix b/pkgs/servers/web-apps/wordpress/default.nix new file mode 100644 index 000000000000..2d247148aee6 --- /dev/null +++ b/pkgs/servers/web-apps/wordpress/default.nix @@ -0,0 +1,12 @@ + # Upgrading? We have a test! nix-build ./nixos/tests/wordpress.nix +{ fetchFromGitHub, lib } : fetchFromGitHub { + owner = "WordPress"; + repo = "WordPress"; + rev = "4.7.3"; + sha256 = "05gggm40065abylp6bdc0zn0q6ahcggyh4q6rk0ak242q8v5fm5b"; + meta = { + homepage = https://wordpress.org; + description = "WordPress is open source software you can use to create a beautiful website, blog, or app."; + license = lib.licenses.gpl2; + }; +} |