From 5269b40e004ed3db145106dfc9dabe60a1e3474c Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 10 May 2026 03:18:15 +0800 Subject: [PATCH] feat: add mcpplibs.tinyhttps@0.2.2 + mcpplibs.capi.lua@0.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mcpplibs.tinyhttps 0.2.2: cleanup of mcpp.toml on top of 0.2.1 — drops the deprecated `[language]` and `[modules]` sections that mcpp 0.0.3 now infers by default. No source/API change. - mcpplibs.capi.lua 0.0.3: brand-new descriptor for the C++23 module that wraps the Lua 5.4 C API. Depends on `lua@5.4.7` (added to this index 2026-05-09); mcpp 0.0.3's transitive walker propagates lua's headers into the consumer's compile rule. --- pkgs/m/mcpplibs.capi.lua.lua | 32 ++++++++++++++++++++++++++++++++ pkgs/m/mcpplibs.tinyhttps.lua | 12 ++++++++++++ 2 files changed, 44 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..369669b --- /dev/null +++ b/pkgs/m/mcpplibs.capi.lua.lua @@ -0,0 +1,32 @@ +-- 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", + 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", + }, + }, + }, +} diff --git a/pkgs/m/mcpplibs.tinyhttps.lua b/pkgs/m/mcpplibs.tinyhttps.lua index e2a053e..eecbcdd 100644 --- a/pkgs/m/mcpplibs.tinyhttps.lua +++ b/pkgs/m/mcpplibs.tinyhttps.lua @@ -15,18 +15,30 @@ package = { url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", }, + ["0.2.2"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz", + sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248", + }, }, macosx = { ["0.2.1"] = { url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", }, + ["0.2.2"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz", + sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248", + }, }, windows = { ["0.2.1"] = { url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", }, + ["0.2.2"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz", + sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248", + }, }, }, }