GNU bug report logs - #45604
[PATCH 0/1] Add magic-enum package

Previous Next

Package: guix-patches;

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

Date: Sat, 2 Jan 2021 00:52:01 UTC

Severity: normal

Tags: patch

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

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Anadon <joshua.r.marshall.1991 <at> gmail.com>
Subject: bug#45853: closed ([PATCH] gnu: Add magic-enum.)
Date: Wed, 20 Jan 2021 08:15:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45604: [PATCH 1/1] Added a package definition for the C++17 header only library 'magic-enum'.

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 45853 <at> debbugs.gnu.org.

-- 
45604: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45604
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Anadon <joshua.r.marshall.1991 <at> gmail.com>, 45604-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add magic-enum.
Date: Wed, 20 Jan 2021 09:14:14 +0100
Pushed with some slight changes in the description.  Thanks!


[Message part 3 (message/rfc822, inline)]
From: Anadon <joshua.r.marshall.1991 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: 45604 <at> debbugs.gnu.org, Anadon <joshua.r.marshall.1991 <at> gmail.com>
Subject: [PATCH 1/1] Added a package definition for the C++17 header only
 library 'magic-enum'.
Date: Wed, 13 Jan 2021 21:36:30 -0500
gnu/packages/cpp.scm: Added the package definition.
---
 gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 00e006928e..673867dbd2 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-9)))
+      (synopsis "C++17 header only library for compile time reflection of enums")
+      (description "C++17 header only library which offers static reflection
+of enums, with to string, from string, and iteration, and related
+functionality.")
+      (license license:expat)))
-- 
2.27.0




This bug report was last modified 4 years and 122 days ago.

Previous Next


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