fix plugin build for wordpress plugins #93

Merged
darkkirb merged 4 commits from fix-wordpress-plugin-builvd into main 2023-04-25 15:34:37 +00:00
9 changed files with 43 additions and 10 deletions

View 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"
}

View file

@ -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"

View 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"
}

View 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"
}

View file

@ -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"
}

View 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"
}

View file

@ -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

View file

@ -1,6 +1,7 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq
cd web/workpress-plugins
set -ex

View 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"
}