Skip to content

Commit d4db8ca

Browse files
authored
feat: add mcpplibs.tinyhttps@0.2.2 + mcpplibs.capi.lua@0.0.3 (#6)
- 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.
1 parent aa4a1a1 commit d4db8ca

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

pkgs/m/mcpplibs.capi.lua.lua

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- Form A descriptor: the upstream repo ships its own mcpp.toml from
2+
-- 0.0.3 onwards, so we omit the `mcpp` field — mcpp default-look-up
3+
-- finds <verdir>/lua-<tag>/mcpp.toml inside the GitHub tarball wrap.
4+
package = {
5+
spec = "1",
6+
name = "mcpplibs.capi.lua",
7+
description = "C++23 module wrapping the Lua 5.4 C API — `import mcpplibs.capi.lua;`",
8+
licenses = {"Apache-2.0"},
9+
repo = "https://github.com/mcpplibs/lua",
10+
type = "package",
11+
12+
xpm = {
13+
linux = {
14+
["0.0.3"] = {
15+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
16+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
17+
},
18+
},
19+
macosx = {
20+
["0.0.3"] = {
21+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
22+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
23+
},
24+
},
25+
windows = {
26+
["0.0.3"] = {
27+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
28+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
29+
},
30+
},
31+
},
32+
}

pkgs/m/mcpplibs.tinyhttps.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,30 @@ package = {
1515
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
1616
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
1717
},
18+
["0.2.2"] = {
19+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz",
20+
sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248",
21+
},
1822
},
1923
macosx = {
2024
["0.2.1"] = {
2125
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
2226
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
2327
},
28+
["0.2.2"] = {
29+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz",
30+
sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248",
31+
},
2432
},
2533
windows = {
2634
["0.2.1"] = {
2735
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
2836
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
2937
},
38+
["0.2.2"] = {
39+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.2.tar.gz",
40+
sha256 = "bc4cb59475826a975dd0408b59a00cf41c4aa4078a0fc2e54929bde7fb696248",
41+
},
3042
},
3143
},
3244
}

0 commit comments

Comments
 (0)