From cacb7d48f8d91e246471f09b0463bdc54d1093be Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Wed, 27 May 2026 03:17:35 +0800 Subject: [PATCH] fix: add qualified capi lua descriptor alias --- pkgs/m/mcpplibs.capi.lua.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/m/mcpplibs.capi.lua.lua diff --git a/pkgs/m/mcpplibs.capi.lua.lua b/pkgs/m/mcpplibs.capi.lua.lua new file mode 100644 index 0000000..54ceecb --- /dev/null +++ b/pkgs/m/mcpplibs.capi.lua.lua @@ -0,0 +1,33 @@ +-- Form A descriptor: the upstream repo ships its own mcpp.toml from +-- 0.0.3 onwards, so we omit the `mcpp` field — mcpp default-look-up +-- finds /lua-/mcpp.toml inside the GitHub tarball wrap. +package = { + spec = "1", + namespace = "mcpplibs.capi", + name = "mcpplibs.capi.lua", + description = "C++23 module wrapping the Lua 5.4 C API — `import mcpplibs.capi.lua;`", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/lua", + type = "package", + + xpm = { + linux = { + ["0.0.3"] = { + url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz", + sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6", + }, + }, + macosx = { + ["0.0.3"] = { + url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz", + sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6", + }, + }, + windows = { + ["0.0.3"] = { + url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz", + sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6", + }, + }, + }, +}