Subject: bug#69879: closed (Re: [bug#69879] [PATCH] gnu: cpp: Add tomlplusplus 3.4.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 20 Apr 2024 01:31:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
69879: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69879
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#69879] [PATCH] gnu: cpp: Add tomlplusplus 3.4.0.
From: Hilton Chain <[email-masked]>
To: Daniel Ziltener <[email-masked]>
Cc: [email-masked]
Date: Sat, 20 Apr 2024 09:28:40 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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!

Subject: [PATCH] gnu: cpp: Add tomlplusplus 3.4.0.
From: Daniel Ziltener <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 18 Mar 2024 23:07:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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