Otok public index

apotocki/inja

apotocki/inja 3.5.0 (r1, windows)

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

Recipe files changed

Inputs

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

Platforms

windows

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 1013 bytes · raw
# The otok recipe of inja (https://github.com/apotocki/otok): inja for Windows, with MSVC or with clang-cl
# across from Linux, 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 = ["windows"]
build-on = ["windows/msvc", "linux/clang-cl"]

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

[[product]]
name = "Inja"
libraries = []
link = { runtime = "c++" }