From 2e11c3e1b5728c7523ef3bc94f5a649c5af6320b Mon Sep 17 00:00:00 2001 From: Murilo Date: Sat, 24 Jan 2026 09:48:05 -0300 Subject: [PATCH] gnu: Add glaze. * gnu/packages/cpp.scm (glaze): New variable. Change-Id: I064567c1b2fb2b61ef144146f802d705f8e81d1b Signed-off-by: Andreas Enge Signed-off-by: Rutherther --- gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 1e81b6ea143fd6cdc319e3fba32f48538ebdc3de..91cc08853839c7c6993ca15ecf2efcc07f502cc9 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1318,6 +1318,32 @@ collision) and the extra storage is linear with respect to the number of keys.") (license license:asl2.0)))) +(define-public glaze + (package + (name "glaze") + (version "7.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stephenberry/glaze") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1plzxrpk470yqm0pzdw5ghc39jvcafn2xj90hk4gpy7r82wvwfhs")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f + #:configure-flags + ;; Building tests require fetching external libraries + #~(list "-DBUILD_TESTING=OFF"))) + (home-page "https://github.com/stephenberry/glaze") + (synopsis "Fast, in memory, JSON and reflection library for modern C++") + (description "Glaze is an in-memory JSON and reflection library for modern +C++. It also provides support for BEVE, CBOR, CSV, MessagePack, TOML, YAML, +and EETF.") + (license license:expat))) + (define-public json-dto (package (name "json-dto")