Skip to content

Commit 5b4c9aa

Browse files
authored
fix: add qualified capi lua descriptor alias
1 parent 8cecf27 commit 5b4c9aa

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

pkgs/m/mcpplibs.capi.lua.lua

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
namespace = "mcpplibs.capi",
7+
name = "mcpplibs.capi.lua",
8+
description = "C++23 module wrapping the Lua 5.4 C API — `import mcpplibs.capi.lua;`",
9+
licenses = {"Apache-2.0"},
10+
repo = "https://github.com/mcpplibs/lua",
11+
type = "package",
12+
13+
xpm = {
14+
linux = {
15+
["0.0.3"] = {
16+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
17+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
18+
},
19+
},
20+
macosx = {
21+
["0.0.3"] = {
22+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
23+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
24+
},
25+
},
26+
windows = {
27+
["0.0.3"] = {
28+
url = "https://github.com/mcpplibs/lua/archive/refs/tags/0.0.3.tar.gz",
29+
sha256 = "f7f46c3cd193dc4527be5f3e5cfc29d7e322d5d3db56b9bdb060f289090088d6",
30+
},
31+
},
32+
},
33+
}

0 commit comments

Comments
 (0)