From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qMg+GV6u/19qPwAA0tVLHw (envelope-from ) for ; Thu, 14 Jan 2021 02:37:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MIYRFV6u/1+IJQAAB5/wlQ (envelope-from ) for ; Thu, 14 Jan 2021 02:37:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 015769403C5 for ; Thu, 14 Jan 2021 02:37:18 +0000 (UTC) Received: from localhost ([::1]:33510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzsVg-0001kD-VC for larch@yhetil.org; Wed, 13 Jan 2021 21:37:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzsVT-0001TM-0G for guix-patches@gnu.org; Wed, 13 Jan 2021 21:37:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzsVS-0001Zc-PG for guix-patches@gnu.org; Wed, 13 Jan 2021 21:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzsVS-0002yb-Mm for guix-patches@gnu.org; Wed, 13 Jan 2021 21:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45853] [PATCH 1/1] Added a package definition for the C++17 header only library 'magic-enum'. Resent-From: Anadon Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45853@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161059180611389 (code B ref -1); Thu, 14 Jan 2021 02:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 02:36:46 +0000 Received: from localhost ([127.0.0.1]:36906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzsVB-0002xR-R3 for submit@debbugs.gnu.org; Wed, 13 Jan 2021 21:36:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:54980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzsVA-0002xH-82 for submit@debbugs.gnu.org; Wed, 13 Jan 2021 21:36:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzsV8-0001K3-Rv for guix-patches@gnu.org; Wed, 13 Jan 2021 21:36:43 -0500 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:43187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzsV7-0001Sq-F4 for guix-patches@gnu.org; Wed, 13 Jan 2021 21:36:42 -0500 Received: by mail-qk1-x730.google.com with SMTP id 143so5274506qke.10 for ; Wed, 13 Jan 2021 18:36:41 -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=iwACoeTsRVAPXG9M6PgVIBe3Bw1WZfojGUpeP/XKnK8=; b=ffh9qoIoad+J7/WnwXYaFIAs7xyEB8DTXEGqkvIMf9nOZwHNxJmWezQS8QaWY/HPH+ +4GV/buJ5w0yIkAf3r7mm5QgJqKL/yw5OT70H3mgTNcg7OPTIr+UdjtLcnxTQZ1jlRr9 YKeEXQVuobY4mp6+dCtuJqAX4OKANQ7iazFAT6cZ93nkcv4Idk0SKuTlD4P0UTymVfES l3x6z2dfMA6COFTF3+C6wd2pmFCIYZt5VcPzuz42Lik9wnyVhzx6AvzAzQUcHEgruSg+ SaRVKgu8vOeCIDetysib+k3bNAA2M5UQWL3/RFPKqGIlrCEqMKeCpPVwZx4fs8n45j3l 9mzQ== 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=iwACoeTsRVAPXG9M6PgVIBe3Bw1WZfojGUpeP/XKnK8=; b=VEbOcKtCXANI9nrI5Qc0NFgv6VFpReu+whnV5wqWKMLGqgagNJmRSTOiVlAf1CIbei yjMEg09iXgyR3yNIPI3fAXtW66HYbu0VeXHSPDkJ9kVf/KCXW6JoXRB0HfRIXhgTUOA/ u8YdkUVnooojnn81tB7KJePtjVVTfLeRbkpjzaPw2wn1LhGAGFRq9UzD6NW+IEqeZa9h p0Lo4/4wrF8UP4E46PUXBRBEnPy9BuYq5yGy69z5U29mauIJ4Z8E9DF8PAhdWlUgw9Te SL8tuaj7phUp3xlgD8sm2CvEIr8Rl8WSEz0wHSosLZ5uUGtaFfuMDijvIivYVyXrkTnQ vs8Q== X-Gm-Message-State: AOAM532sfMd3qvsdNSBLW4px6J9zN+eVWcKY/UiFoExDhFEBvPmRXJ/q RkPDKcXmiLTii2DCS24JANRY0R6EkknnSveU X-Google-Smtp-Source: ABdhPJy7vSc/WNhJ7uB67P53bvvKcIg5n7o/a78hyXzRvUvXpy6M+tzZItfG4vj1a1E082Fno+MlEw== X-Received: by 2002:a05:620a:12f8:: with SMTP id f24mr5212626qkl.132.1610591800263; Wed, 13 Jan 2021 18:36:40 -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 l24sm2305169qkl.46.2021.01.13.18.36.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 18:36:39 -0800 (PST) From: Anadon Date: Wed, 13 Jan 2021 21:36:30 -0500 Message-Id: <20210114023630.53568-2-joshua.r.marshall.1991@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210114023630.53568-1-joshua.r.marshall.1991@gmail.com> References: <20210114023630.53568-1-joshua.r.marshall.1991@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-qk1-x730.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45604@debbugs.gnu.org, Anadon Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.74 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ffh9qoIo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 015769403C5 X-Spam-Score: 2.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: kbhaYksKFH3Z 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