Merge pull request 'fix plugin build for wordpress plugins' (#93) from fix-wordpress-plugin-builvd into main
Reviewed-on: #93
This commit is contained in:
commit
1829793325
9 changed files with 43 additions and 10 deletions
7
web/wordpress-plugins/classic-editor.json
Normal file
7
web/wordpress-plugins/classic-editor.json
Normal file
|
@ -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"
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
stdenv,
|
||||
fetchurl,
|
||||
lib,
|
||||
unzip
|
||||
unzip,
|
||||
}:
|
||||
with builtins;
|
||||
with lib; let
|
||||
|
@ -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"
|
||||
|
|
7
web/wordpress-plugins/friends.json
Normal file
7
web/wordpress-plugins/friends.json
Normal file
|
@ -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"
|
||||
}
|
7
web/wordpress-plugins/hum.json
Normal file
7
web/wordpress-plugins/hum.json
Normal file
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
7
web/wordpress-plugins/nodeinfo.json
Normal file
7
web/wordpress-plugins/nodeinfo.json
Normal file
|
@ -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"
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl jq
|
||||
|
||||
cd web/workpress-plugins
|
||||
|
||||
set -ex
|
||||
|
||||
|
|
7
web/wordpress-plugins/webfinger.json
Normal file
7
web/wordpress-plugins/webfinger.json
Normal file
|
@ -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"
|
||||
}
|
Reference in a new issue