Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions pkgs/o/openkal-libc.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-- openkal-libc --- a C library above openkal.
--
-- No `deps`. The package needs nothing beyond the specification it is written
-- against; the implementation that supplies the definitions is chosen by the
-- consuming project as a conditional dependency.
package = {
spec = "1",
namespace = "mcpplibs",
name = "openkal-libc",
description = "A C library above openkal rather than above a kernel, written to test the claim that porting one library suffices",
licenses = {"Apache-2.0"},
repo = "https://github.com/mcpplibs/openkal-libc",
type = "package",

xpm = {
linux = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz",
},
sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084",
},
},
macosx = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz",
},
sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084",
},
},
windows = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz",
},
sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084",
},
},
},

-- The package's own manifest, inside the tarball's wrap directory.
mcpp = "*/mcpp.toml",
}
24 changes: 12 additions & 12 deletions pkgs/o/openkal-linux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ package = {

xpm = {
linux = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.2.0/openkal-linux-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz",
},
sha256 = "0007231fa59852f13ac3a0048033c9efbe6772c39545bbfb36f230c6ffd8a654",
sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679",
},
},
macosx = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.2.0/openkal-linux-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz",
},
sha256 = "0007231fa59852f13ac3a0048033c9efbe6772c39545bbfb36f230c6ffd8a654",
sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679",
},
},
windows = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.2.0/openkal-linux-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz",
},
sha256 = "0007231fa59852f13ac3a0048033c9efbe6772c39545bbfb36f230c6ffd8a654",
sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679",
},
},
},
Expand Down
52 changes: 52 additions & 0 deletions pkgs/o/openkal-macos.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-- openkal-macos --- a second implementation.
--
-- Its purpose is as much to test the specification as to be used. A
-- specification satisfied only by the system it was written against has not
-- been shown to be portable, however many programs that system hosts.
--
-- Listed for every platform because a platform table describes availability
-- rather than applicability. A project selects this implementation with a
-- conditional dependency on cfg(os = "macos"); one that selects it elsewhere
-- fails at compile time, which is the correct place for that failure.
package = {
spec = "1",
namespace = "mcpplibs",
name = "openkal-macos",
description = "An implementation of openkal for macOS, which exists as much to test the specification as to be used",
licenses = {"Apache-2.0"},
repo = "https://github.com/mcpplibs/openkal-macos",
type = "package",

xpm = {
linux = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz",
},
sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e",
},
},
macosx = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz",
},
sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e",
},
},
windows = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz",
},
sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e",
},
},
},

-- The package's own manifest, inside the tarball's wrap directory.
mcpp = "*/mcpp.toml",
}
24 changes: 12 additions & 12 deletions pkgs/o/openkal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,30 @@ package = {

xpm = {
linux = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.2.0/openkal-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz",
},
sha256 = "461865b784dbb2eb70f757e11889428e1551e297878877c424d429ff3a55281b",
sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f",
},
},
macosx = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.2.0/openkal-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz",
},
sha256 = "461865b784dbb2eb70f757e11889428e1551e297878877c424d429ff3a55281b",
sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f",
},
},
windows = {
["0.2.0"] = {
["0.3.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.2.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.2.0/openkal-0.2.0.tar.gz",
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz",
},
sha256 = "461865b784dbb2eb70f757e11889428e1551e297878877c424d429ff3a55281b",
sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f",
},
},
},
Expand Down
Loading