From 77c0d355972ec4fd5f04eaca66e68eb390c5aaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 25 Apr 2023 09:31:35 +0100 Subject: [PATCH 1/4] fix plugin build for wordpress plugins --- web/wordpress-plugins/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/wordpress-plugins/default.nix b/web/wordpress-plugins/default.nix index cd7765e..04a5ed7 100644 --- a/web/wordpress-plugins/default.nix +++ b/web/wordpress-plugins/default.nix @@ -22,7 +22,7 @@ in unpackPhase = '' unzip $src ''; - installPhase = "mkdir -p $out; cp -R * $out/"; + installPhase = "mkdir -p $out; cp -R $pname/* $out/"; meta = {inherit (source) description;}; passthru.updateScript = if name == "activitypub" From bce4c6870d427cb9691bdac60b58f9734c183c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 25 Apr 2023 09:55:44 +0100 Subject: [PATCH 2/4] more plugins --- web/wordpress-plugins/classic-editor.json | 7 +++++++ web/wordpress-plugins/friends.json | 7 +++++++ web/wordpress-plugins/hum.json | 7 +++++++ web/wordpress-plugins/jetpack.json | 7 ------- web/wordpress-plugins/nodeinfo.json | 7 +++++++ web/wordpress-plugins/plugins | 6 +++++- web/wordpress-plugins/webfinger.json | 7 +++++++ 7 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 web/wordpress-plugins/classic-editor.json create mode 100644 web/wordpress-plugins/friends.json create mode 100644 web/wordpress-plugins/hum.json delete mode 100644 web/wordpress-plugins/jetpack.json create mode 100644 web/wordpress-plugins/nodeinfo.json create mode 100644 web/wordpress-plugins/webfinger.json diff --git a/web/wordpress-plugins/classic-editor.json b/web/wordpress-plugins/classic-editor.json new file mode 100644 index 0000000..e26f598 --- /dev/null +++ b/web/wordpress-plugins/classic-editor.json @@ -0,0 +1,7 @@ +{ + "version": "1.6.3", + "pname": "classic-editor", + "description": "Classic Editor", + "url": "https://downloads.wordpress.org/plugin/classic-editor.1.6.3.zip", + "sha256": "921661e2671e448287fc6b36bfe6b3a2295db5d7cf579d6552d249e76eebb351" +} diff --git a/web/wordpress-plugins/friends.json b/web/wordpress-plugins/friends.json new file mode 100644 index 0000000..df4785c --- /dev/null +++ b/web/wordpress-plugins/friends.json @@ -0,0 +1,7 @@ +{ + "version": "2.5.2", + "pname": "friends", + "description": "Friends", + "url": "https://downloads.wordpress.org/plugin/friends.2.5.2.zip", + "sha256": "59ed40ac89f2920d578b769acdf9b6323c560a052b8d4c678764b77737bcb09f" +} diff --git a/web/wordpress-plugins/hum.json b/web/wordpress-plugins/hum.json new file mode 100644 index 0000000..ca312e9 --- /dev/null +++ b/web/wordpress-plugins/hum.json @@ -0,0 +1,7 @@ +{ + "version": "1.3.1", + "pname": "hum", + "description": "Hum", + "url": "https://downloads.wordpress.org/plugin/hum.1.3.1.zip", + "sha256": "97a176020abb54ae1d9cb7a8abbf8caf3bff879d0e4f6eed974b9d8f68f11caf" +} diff --git a/web/wordpress-plugins/jetpack.json b/web/wordpress-plugins/jetpack.json deleted file mode 100644 index 8df70db..0000000 --- a/web/wordpress-plugins/jetpack.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": "12.0", - "pname": "jetpack", - "description": "Jetpack – WP Security, Backup, Speed, & Growth", - "url": "https://downloads.wordpress.org/plugin/jetpack.12.0.zip", - "sha256": "db722fd367ac1a2b4c5c47e213a16e9e06ad1a3e458257f708c55cdc69c51004" -} diff --git a/web/wordpress-plugins/nodeinfo.json b/web/wordpress-plugins/nodeinfo.json new file mode 100644 index 0000000..8202000 --- /dev/null +++ b/web/wordpress-plugins/nodeinfo.json @@ -0,0 +1,7 @@ +{ + "version": "2.1.0", + "pname": "nodeinfo", + "description": "NodeInfo(2)", + "url": "https://downloads.wordpress.org/plugin/nodeinfo.2.1.0.zip", + "sha256": "adbc7eb376192ca1ebd4ca0995ff5ec7b30046d3fcab6a5f00314dc06340b3dd" +} diff --git a/web/wordpress-plugins/plugins b/web/wordpress-plugins/plugins index 58f3ad0..d94a52e 100644 --- a/web/wordpress-plugins/plugins +++ b/web/wordpress-plugins/plugins @@ -1,4 +1,3 @@ -jetpack wp-super-cache google-sitemap-generator indieweb @@ -9,3 +8,8 @@ syndication-links micropub webmention activitypub +friends +hum +webfinger +nodeinfo +classic-editor diff --git a/web/wordpress-plugins/webfinger.json b/web/wordpress-plugins/webfinger.json new file mode 100644 index 0000000..4dfe31a --- /dev/null +++ b/web/wordpress-plugins/webfinger.json @@ -0,0 +1,7 @@ +{ + "version": "3.2.5", + "pname": "webfinger", + "description": "WebFinger", + "url": "https://downloads.wordpress.org/plugin/webfinger.3.2.5.zip", + "sha256": "7a4abd1a820085f1600b52b8c003d1b30b504abb95972a44d584a17233157643" +} From cf2fb8f40cc30d38d9d8b2f812d4f52681c620f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 25 Apr 2023 15:22:41 +0100 Subject: [PATCH 3/4] format --- web/wordpress-plugins/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/wordpress-plugins/default.nix b/web/wordpress-plugins/default.nix index 04a5ed7..d180a2f 100644 --- a/web/wordpress-plugins/default.nix +++ b/web/wordpress-plugins/default.nix @@ -2,7 +2,7 @@ stdenv, fetchurl, lib, - unzip + unzip, }: with builtins; with lib; let From cd2a52063026dbc7caa18b7fe85bddb0d0eaf59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 25 Apr 2023 16:34:02 +0100 Subject: [PATCH 4/4] fix update script --- web/wordpress-plugins/update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/web/wordpress-plugins/update.sh b/web/wordpress-plugins/update.sh index dc354a2..6fefd99 100755 --- a/web/wordpress-plugins/update.sh +++ b/web/wordpress-plugins/update.sh @@ -1,6 +1,7 @@ #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl jq +cd web/workpress-plugins set -ex