all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#45730] [PATCH 0/2] Added magic-enum header-only library as a package.
@ 2021-01-09  2:40 Anadon
  2021-01-09  2:40 ` [bug#45731] [PATCH 1/2] " Anadon
  2021-01-09  2:40 ` [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested Anadon
  0 siblings, 2 replies; 5+ messages in thread
From: Anadon @ 2021-01-09  2:40 UTC (permalink / raw)
  To: 45730; +Cc: 45604, Anadon

Added magic-enum header-only library as a package.

Anadon (1):
  Made changes Leo on the ML suggested.

Josh Marshall (1):
  Added magic-enum header-only library as a package.

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

-- 
2.30.0





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#45731] [PATCH 1/2] Added magic-enum header-only library as a package.
  2021-01-09  2:40 [bug#45730] [PATCH 0/2] Added magic-enum header-only library as a package Anadon
@ 2021-01-09  2:40 ` Anadon
  2021-01-09  2:40 ` [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested Anadon
  1 sibling, 0 replies; 5+ messages in thread
From: Anadon @ 2021-01-09  2:40 UTC (permalink / raw)
  To: 45731; +Cc: 45604, Josh Marshall

From: Josh Marshall <joshua.r.marshall.1991@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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested.
  2021-01-09  2:40 [bug#45730] [PATCH 0/2] Added magic-enum header-only library as a package Anadon
  2021-01-09  2:40 ` [bug#45731] [PATCH 1/2] " Anadon
@ 2021-01-09  2:40 ` Anadon
  2022-05-22  4:31   ` [bug#45732] " Maxim Cournoyer
  2023-05-29 12:18   ` bug#45732: " Jelle Licht
  1 sibling, 2 replies; 5+ messages in thread
From: Anadon @ 2021-01-09  2:40 UTC (permalink / raw)
  To: 45604; +Cc: joshua.r.marshall.1991

---
 gnu/packages/cpp.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ff10a4247b..487639c879 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -823,11 +823,9 @@ provides a number of utilities to make coding with expected cleaner.")
                   "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")
+      (native-inputs
+       `(("gcc" ,gcc-9)))
+      (synopsis "Header-only C++17 library for reflection on enums")
+      (description "C++17 static reflection for enums, allowing functions like
+ to string, from string, and iteration.")
       (license license:expat)))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#45732] [PATCH 2/2] Made changes Leo on the ML suggested.
  2021-01-09  2:40 ` [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested Anadon
@ 2022-05-22  4:31   ` Maxim Cournoyer
  2023-05-29 12:18   ` bug#45732: " Jelle Licht
  1 sibling, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-05-22  4:31 UTC (permalink / raw)
  To: Anadon; +Cc: 45732, GNU Debbugs, 45604

tags 45732 +moreinfo
thanks

Hello,

Anadon <joshua.r.marshall.1991@gmail.com> writes:

> ---
>  gnu/packages/cpp.scm | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
> index ff10a4247b..487639c879 100644
> --- a/gnu/packages/cpp.scm
> +++ b/gnu/packages/cpp.scm
> @@ -823,11 +823,9 @@ provides a number of utilities to make coding with expected cleaner.")
>                    "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")
> +      (native-inputs
> +       `(("gcc" ,gcc-9)))
> +      (synopsis "Header-only C++17 library for reflection on enums")
> +      (description "C++17 static reflection for enums, allowing functions like
> + to string, from string, and iteration.")
>        (license license:expat)))

What package is this supposed to affect?  There's no mention of its name
anywhere in the title and it doesn't seem to exist in the repo.

Thanks!

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45732: [PATCH 2/2] Made changes Leo on the ML suggested.
  2021-01-09  2:40 ` [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested Anadon
  2022-05-22  4:31   ` [bug#45732] " Maxim Cournoyer
@ 2023-05-29 12:18   ` Jelle Licht
  1 sibling, 0 replies; 5+ messages in thread
From: Jelle Licht @ 2023-05-29 12:18 UTC (permalink / raw)
  To: Anadon; +Cc: 45732-done

Anadon <joshua.r.marshall.1991@gmail.com> writes:

> ---
>  gnu/packages/cpp.scm | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
> index ff10a4247b..487639c879 100644
> --- a/gnu/packages/cpp.scm
> +++ b/gnu/packages/cpp.scm
> @@ -823,11 +823,9 @@ provides a number of utilities to make coding with expected cleaner.")
>                    "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")
> +      (native-inputs
> +       `(("gcc" ,gcc-9)))
> +      (synopsis "Header-only C++17 library for reflection on enums")
> +      (description "C++17 static reflection for enums, allowing functions like
> + to string, from string, and iteration.")
>        (license license:expat)))


These changes were taken into account for commit
944aebb46abfaa16321b42a095c729a0d04ae68d as well. Closing




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-29 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-09  2:40 [bug#45730] [PATCH 0/2] Added magic-enum header-only library as a package Anadon
2021-01-09  2:40 ` [bug#45731] [PATCH 1/2] " Anadon
2021-01-09  2:40 ` [bug#45604] [PATCH 2/2] Made changes Leo on the ML suggested Anadon
2022-05-22  4:31   ` [bug#45732] " Maxim Cournoyer
2023-05-29 12:18   ` bug#45732: " Jelle Licht

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.