GNU bug report logs - #45731
[PATCH 1/2] Added magic-enum header-only library as a package.

Previous Next

Package: guix-patches;

Reported by: Anadon <joshua.r.marshall.1991 <at> gmail.com>

Date: Sat, 9 Jan 2021 02:42:02 UTC

Severity: normal

Tags: patch

Merged with 45604, 45730, 45850, 45851, 45852, 45853

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45731 in the body.
You can then email your comments to 45731 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#45731; Package guix-patches. (Sat, 09 Jan 2021 02:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anadon <joshua.r.marshall.1991 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Jan 2021 02:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anadon <joshua.r.marshall.1991 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: 45604 <at> debbugs.gnu.org, Josh Marshall <joshua.r.marshall.1991 <at> gmail.com>
Subject: [PATCH 1/2] Added magic-enum header-only library as a package.
Date: Fri,  8 Jan 2021 21:40:57 -0500
From: Josh Marshall <joshua.r.marshall.1991 <at> gmail.com>

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

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 00e006928e..ff10a4247b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -807,3 +807,27 @@ code will be mixed in with the actual programming logic.  This implementation
 provides a number of utilities to make coding with expected cleaner.")
     (home-page "https://tl.tartanllama.xyz/")
     (license license:cc0)))
+
+(define-public magic-enum
+    (package
+      (name "magic-enum")
+      (version "0.7.2")
+      (home-page "https://github.com/Neargye/magic_enum")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit (string-append "v" version))))
+                (sha256
+                 (base32
+                  "0fmkyh1srkz2bx68agfa30sankg1ig1f95xqp8sp9wj3p9qilsv2"))
+                (modules '((guix build utils)))))
+      (build-system cmake-build-system)
+
+      (inputs
+       `(("gcc" ,gcc-10)))
+      (synopsis "Header-only C++17 library for reflection for enums")
+      (description "Static reflection for enums (to string, from string,
+iteration) for modern C++, work with any enum type without any macro or
+boilerplate code")
+      (license license:expat)))
-- 
2.30.0





Merged 45604 45730 45731 45850 45851 45852 45853. Request was from Leo Prikler <leo.prikler <at> student.tugraz.at> to control <at> debbugs.gnu.org. (Thu, 14 Jan 2021 10:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 Feb 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.