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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Anadon <joshua.r.marshall.1991@HIDDEN>; Keywords: patch; merged with #45604, #45730, #45850, #45851, #45852, #45853; dated Sat, 9 Jan 2021 02:42:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 45604 45730 45731 45850 45851 45852 45853. Request was from Leo Prikler <leo.prikler@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Jan 2021 02:41:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 08 21:41:14 2021
Received: from localhost ([127.0.0.1]:51049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ky4Bl-0003uy-QE
	for submit <at> debbugs.gnu.org; Fri, 08 Jan 2021 21:41:14 -0500
Received: from lists.gnu.org ([209.51.188.17]:37300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joshua.r.marshall.1991@HIDDEN>)
 id 1ky4Bk-0003uq-0D
 for submit <at> debbugs.gnu.org; Fri, 08 Jan 2021 21:41:12 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59036)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joshua.r.marshall.1991@HIDDEN>)
 id 1ky4Bj-0002rF-P6
 for guix-patches@HIDDEN; Fri, 08 Jan 2021 21:41:11 -0500
Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:42795)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <joshua.r.marshall.1991@HIDDEN>)
 id 1ky4Bi-000623-9E
 for guix-patches@HIDDEN; Fri, 08 Jan 2021 21:41:11 -0500
Received: by mail-io1-xd33.google.com with SMTP id q137so11824916iod.9
 for <guix-patches@HIDDEN>; Fri, 08 Jan 2021 18:41:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=YR4V0dY9gVJ1rgpsEML8rDuQHgp/xU8Xkr47X5/coTE=;
 b=fe6ofN1F/yTmwLDo2rNSlcuBDRX/Bs+wvHcuVWKucjGnncnFFsLRr/YyBTmXNTJiJ7
 NveLB4kfRAXZMyofs5H5I4MMQF55S9dSrabQCfAw5vPSOiQUHe7D9MEA31C9gvFIielT
 GCVCQkgSAwbfq7OV4cMcjcsjjKsFHt/Vrf/gG2HlZ4ft12TIPp1aiIfjdq7stuGy5Whq
 RSoA2wc2dgIaOIUnG3VsyBgIdxMMK225iZxpNoBFD3+hORQsqRzihTsNKbDDJJIPeupC
 qKtlAnNpSSy8Gj6GoYyVYU92ci4w96eUHmExjJ6CyjmCfOifpdO7Kt3V8VEAOpXh4mzA
 rLWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=YR4V0dY9gVJ1rgpsEML8rDuQHgp/xU8Xkr47X5/coTE=;
 b=IIU7kEq5ZjC1w2nZEpAWd9y2jMeErqhP8UVF8xM03iiXds9e1C2C/I5AaV349EkV4j
 HtQkzxOZGVJdyU25dtVCe+hgxQwt18xevo4NJV1ocrFHWfKUK84oI7fvm+9vv3jRD0jC
 PdqM9RcTLxrTh3v2NvDMT5iOMLeH4hLPTR26vkZyez1izanrHF3Vvw9VSEKzFd+Kfxfr
 T3G71vqWYXkIWEww6rhvYPvHQPCmKcEAiYF/O/iGv4sigHGHZfqJnlsW/19uTdLQTAY6
 ooUGDt+8MlLGHiUDD80LZbxqmTAhJWe0hAQ+WR808JhvQII+RrnEqbyFlbdgSKleWWcS
 OMoA==
X-Gm-Message-State: AOAM5326KyYc/SDkiFGfISgnDGUmUVQLJdBkXtfPUFZNfgm2k9iJsOJt
 r/+fzTUtVoM7RmU7KvNntHXQ8WvvU135eQ==
X-Google-Smtp-Source: ABdhPJydXsC2g2XJYVGZWZ31qLJgALAuWeP0nUWfMZJxWh3V0vfj590T8FOeAVw14Ir9Yb+rIWvNNA==
X-Received: by 2002:a02:b607:: with SMTP id h7mr6140336jam.120.1610160068965; 
 Fri, 08 Jan 2021 18:41:08 -0800 (PST)
Received: from localhost.localdomain (c-71-235-50-202.hsd1.ct.comcast.net.
 [71.235.50.202])
 by smtp.gmail.com with ESMTPSA id b18sm8170513iln.46.2021.01.08.18.41.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 08 Jan 2021 18:41:08 -0800 (PST)
From: Anadon <joshua.r.marshall.1991@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 1/2] Added magic-enum header-only library as a package.
Date: Fri,  8 Jan 2021 21:40:57 -0500
Message-Id: <20210109024058.68902-2-joshua.r.marshall.1991@HIDDEN>
X-Mailer: git-send-email 2.30.0
In-Reply-To: <20210109024058.68902-1-joshua.r.marshall.1991@HIDDEN>
References: <20210109024058.68902-1-joshua.r.marshall.1991@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::d33;
 envelope-from=joshua.r.marshall.1991@HIDDEN; helo=mail-io1-xd33.google.com
X-Spam_score_int: 1
X-Spam_score: 0.1
X-Spam_bar: /
X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,
 FREEMAIL_FROM=0.001, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: 45604 <at> debbugs.gnu.org, Josh Marshall <joshua.r.marshall.1991@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

From: Josh Marshall <joshua.r.marshall.1991@HIDDEN>

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





Acknowledgement sent to Anadon <joshua.r.marshall.1991@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#45731; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 14 Jan 2021 10:15:02 UTC

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