Otok public index

apotocki/inja

apotocki/inja 3.5.0 (r1, apple)

Library
inja
Variant
apple, target apple
Channel
stable
Published
2026-11-14
Recipe source
https://github.com/otok-dev/recipes.git
1ea16409510454b8ee22a4a83ff304e3e03808c4 in recipes/inja/3.5/apple/
Recipe SHA-256
5486c8a9ab62571d6f649f38d879de5333f2a7778d9a3960a138aa0f02266287

Recipe files changed

Inputs

source.commit7d1b4600b68595085a949743331c2e5673f511ea
source.githttps://github.com/pantor/inja
source.tagv3.5.0

Platforms

ios, iossim, macosx, catalyst, tvos, tvossim, watchos, watchossim, xros, xrossim

Dependencies

LibraryVersionRecipeDetails
nlohmann-json >= 3.11 apotocki/nlohmann-json

Recipe files

build.lua 409 bytes · raw
-- inja: its headers (include/inja, the multiple headers its CMake installs by default), without the copy of
-- nlohmann/json in third_party/: inja's headers include <nlohmann/json.hpp>, which the dependency gives.
function build(slice, options, deps)
    local p = slice.prefix
    otok.copy(slice.source .. "/include/inja", p .. "/include/inja")
    return { libraries = {}, headers = p .. "/include" }
end
recipe.toml 1090 bytes · raw
# The otok recipe of inja (https://github.com/apotocki/otok): inja for every Apple platform, from the release tag; its headers,
# with nlohmann/json of its own recipe instead of the copy in its tree.
[recipe]
api = 1
library = "inja"
name = "inja"
version = "3.5.0"
revision = 1
license = "MIT"
license-files = ["LICENSE"]
homepage = "https://pantor.github.io/inja/"
description = "inja, a template engine for modern C++ in the spirit of Jinja2, over nlohmann/json: loops, conditions, includes, inheritance and callbacks."
keywords = ["template", "template-engine", "jinja", "json", "cpp", "header-only"]
cxx-standard = ">= 17"

[source]
git = "https://github.com/pantor/inja"
commit = "7d1b4600b68595085a949743331c2e5673f511ea"
tag = "v3.5.0"

[platforms]
supported = ["ios", "iossim", "macosx", "catalyst", "tvos", "tvossim", "watchos", "watchossim", "xros", "xrossim"]
build-on = ["macos/xcode"]

[deps.nlohmann-json]
version = ">= 3.11"
default-recipe = "apotocki/nlohmann-json"

[[product]]
name = "Inja"
libraries = []
link = { runtime = "c++" }
apple = { privacy-manifest = "none" }