emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#45853: closed ([PATCH 1/1] Added a package definition for the C++17


From: GNU bug Tracking System
Subject: bug#45853: closed ([PATCH 1/1] Added a package definition for the C++17 header only library 'magic-enum'.)
Date: Wed, 20 Jan 2021 08:15:03 +0000

Your message dated Wed, 20 Jan 2021 09:14:14 +0100
with message-id 
<f8a34a253fbeaccf6e674c9095c537aed4827d37.camel@student.tugraz.at>
and subject line [PATCH] gnu: Add magic-enum.
has caused the debbugs.gnu.org bug report #45604,
regarding [PATCH 1/1] Added a package definition for the C++17 header only 
library 'magic-enum'.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45604: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45604
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: [PATCH] gnu: Add magic-enum. Date: Wed, 20 Jan 2021 09:14:14 +0100 User-agent: Evolution 3.34.2
Pushed with some slight changes in the description.  Thanks!



--- End Message ---

reply via email to

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