guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69879] [PATCH] gnu: cpp: Add tomlplusplus 3.4.0.


From: Daniel Ziltener
Subject: [bug#69879] [PATCH] gnu: cpp: Add tomlplusplus 3.4.0.
Date: Mon, 18 Mar 2024 23:07:04 +0100

---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d451eea2fd..8f8b528071 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -786,6 +786,28 @@ (define-public nlohmann-json
 (define-public json-modern-cxx
   (deprecated-package "json-modern-cxx" nlohmann-json))
 
+(define-public tomlplusplus
+  (package
+   (name "tomlplusplus")
+   (version "3.4.0")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/marzer/tomlplusplus";)
+                  (commit (string-append "v" version))))
+            (sha256
+             (base32
+              "1hvbifzcc97r9jwjzpnq31ynqnj5y93cjz4frmgddnkg8hxmp6w7"))))
+   (build-system cmake-build-system)
+   (native-inputs
+    (list python))
+   (arguments
+    (list #:tests? #f))
+   (home-page "https://marzer.github.io/tomlplusplus/";)
+   (synopsis "Header-only TOML config file parser and serializer for C++17")
+   (description "Header-only TOML config file parser and serializer for 
C++17.")
+   (license license:expat)))
+
 (define-public xtl
   (package
     (name "xtl")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]