diff mbox series

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

Message ID cf4f062f2985f7fb8cf4728d87742078@lyrion.ch
State New
Headers show
Series [bug#69879] gnu: cpp: Add tomlplusplus 3.4.0. | expand

Commit Message

Daniel Ziltener March 18, 2024, 10:07 p.m. UTC
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Comments

Hilton Chain April 20, 2024, 1:28 a.m. UTC | #1
Hi Daniel,

On Tue, 19 Mar 2024 06:07:04 +0800,
Daniel Ziltener via Guix-patches via wrote:
>
> ---
>  gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

I have switched to meson build system for tests, added file name for git source,
adjusted package description and added commit log.

Applied as 0797fff8b8b3feb1e421aad170b4c12a87091663, thanks!
diff mbox series

Patch

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")