wordpress_*: modernize

This commit is contained in:
Bart Oostveen
2026-06-02 12:35:42 +02:00
parent dff867e300
commit 1b20888d2b
+8 -5
View File
@@ -8,12 +8,15 @@
writeScript,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wordpress";
inherit version;
__structuredAttrs = true;
strictDeps = true;
src = fetchurl {
url = "https://wordpress.org/${pname}-${version}.tar.gz";
url = "https://wordpress.org/wordpress-${finalAttrs.version}.tar.gz";
inherit hash;
};
@@ -50,8 +53,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://wordpress.org";
description = "Open source software you can use to create a beautiful website, blog, or app";
license = [ lib.licenses.gpl2Plus ];
maintainers = [ lib.maintainers.basvandijk ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ basvandijk ];
platforms = lib.platforms.all;
};
}
})