wordpress: 5.02 -> 5.2.2
This commit is contained in:
parent
7bd65a15f0
commit
e1857b7808
|
@ -1,13 +1,24 @@
|
||||||
# Upgrading? We have a test! nix-build ./nixos/tests/wordpress.nix
|
{ stdenv, fetchurl }:
|
||||||
{ fetchFromGitHub, lib } : fetchFromGitHub {
|
|
||||||
owner = "WordPress";
|
stdenv.mkDerivation rec {
|
||||||
repo = "WordPress";
|
pname = "wordpress";
|
||||||
rev = "5.0.2";
|
version = "5.2.2";
|
||||||
sha256 = "1r8y62mdv6ji82hcn94gngi68mwilxh69gpx8r83k0cy08s99sln";
|
|
||||||
meta = {
|
src = fetchurl {
|
||||||
homepage = https://wordpress.org;
|
url = "https://wordpress.org/${pname}-${version}.tar.gz";
|
||||||
description = "WordPress is open source software you can use to create a beautiful website, blog, or app.";
|
sha256 = "08iilbvf1gam2nmacj0a8fgldnd2gighmslf9sny8dsdlqlwjgvq";
|
||||||
license = lib.licenses.gpl2;
|
};
|
||||||
maintainers = [ lib.maintainers.basvandijk ];
|
|
||||||
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue