summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurilo <murilo@disroot.org>2026-01-24 09:48:05 -0300
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:31:33 +0100
commit2e11c3e1b5728c7523ef3bc94f5a649c5af6320b (patch)
treebfd3542cb107c9a49e6b7991e79667173bbe68b5
parent9b000588b4741bbd3e426e3ca819e7219eec6c11 (diff)
gnu: Add glaze.
* gnu/packages/cpp.scm (glaze): New variable. Change-Id: I064567c1b2fb2b61ef144146f802d705f8e81d1b Signed-off-by: Andreas Enge <andreas@enge.fr> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
-rw-r--r--gnu/packages/cpp.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 1e81b6ea143..91cc0885383 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
1318keys.") 1318keys.")
1319 (license license:asl2.0)))) 1319 (license license:asl2.0))))
1320 1320
1321(define-public glaze
1322 (package
1323 (name "glaze")
1324 (version "7.0.1")
1325 (source (origin
1326 (method git-fetch)
1327 (uri (git-reference
1328 (url "https://github.com/stephenberry/glaze")
1329 (commit (string-append "v" version))))
1330 (file-name (git-file-name name version))
1331 (sha256
1332 (base32
1333 "1plzxrpk470yqm0pzdw5ghc39jvcafn2xj90hk4gpy7r82wvwfhs"))))
1334 (build-system cmake-build-system)
1335 (arguments
1336 (list #:tests? #f
1337 #:configure-flags
1338 ;; Building tests require fetching external libraries
1339 #~(list "-DBUILD_TESTING=OFF")))
1340 (home-page "https://github.com/stephenberry/glaze")
1341 (synopsis "Fast, in memory, JSON and reflection library for modern C++")
1342 (description "Glaze is an in-memory JSON and reflection library for modern
1343C++. It also provides support for BEVE, CBOR, CSV, MessagePack, TOML, YAML,
1344and EETF.")
1345 (license license:expat)))
1346
1321(define-public json-dto 1347(define-public json-dto
1322 (package 1348 (package
1323 (name "json-dto") 1349 (name "json-dto")