From patchwork Thu Mar 14 21:16:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 61807 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3D5D627BBE9; Thu, 14 Mar 2024 21:18:06 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 71E5B27BBEA for ; Thu, 14 Mar 2024 21:18:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rksSJ-0005jc-RS; Thu, 14 Mar 2024 17:17:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rksSG-0005hw-Me for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rksSG-0004O8-3t for guix-patches@gnu.org; Thu, 14 Mar 2024 17:17:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rksSp-00056f-W9 for guix-patches@gnu.org; Thu, 14 Mar 2024 17:18:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69803] [PATCH rust-team 10/37] gnu: Add rust-enumn-0.1. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 21:18:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69803@debbugs.gnu.org Cc: Herman Rimm Received: via spool by 69803-submit@debbugs.gnu.org id=B69803.171045108919584 (code B ref 69803); Thu, 14 Mar 2024 21:18:11 +0000 Received: (at 69803) by debbugs.gnu.org; 14 Mar 2024 21:18:09 +0000 Received: from localhost ([127.0.0.1]:50814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSm-00055S-3B for submit@debbugs.gnu.org; Thu, 14 Mar 2024 17:18:09 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56223 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSc-00051Q-Gq for 69803@debbugs.gnu.org; Thu, 14 Mar 2024 17:17:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1710451025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nul0/+PqhtWEL9+BGY+JCXS4A8mJeTOu5a4ND76HOdI=; b=PdIy4k6ooSUyryo+RMynnvo+snang4sMvougrGvKw/aEULvzEzTns5Wwcij9o0SqQDiZIh opqMvGfXCJzz5befOSNexG6dY/kvWk312Opp+kz9pCZopt5HRbg3ZW1SXGF6stHyn9zRf4 GH5a9LQnEBEqqoF2ouQIPw/KatkNPdHhZbmhncbBwrpIxrUH5qAfomdzCIP4AJ73+gi6qd LZyAhp7uKcvakX4l+PW//5eAtFp7hTxe7kg/bdSXnrmaLr2djx2UcJj57ubwBlPi9Uc89M MqA2W9Eti4lIX7qFs6v4O8ut6qGW5B3CIwdIL9/IXgAwH4vD3ZTYWbcLENbacw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0d86d851 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 14 Mar 2024 21:17:05 +0000 (UTC) Date: Thu, 14 Mar 2024 22:16:11 +0100 Message-ID: <20240314211638.6190-10-herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240314211638.6190-1-herman@rimm.ee> References: <20240314211638.6190-1-herman@rimm.ee> MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-enumn-0.1): Add variable. Change-Id: I356cff271641e63dfd8bd93d952195ffc4e31543 --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 477eafa902..37af29f88c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21601,6 +21601,27 @@ (define-public rust-enumflags2-derive-0.6 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-enumn-0.1 + (package + (name "rust-enumn") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "enumn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hnvrp440hwjfd4navbni2mhcjd63adxp8ryk6z3prw8d7yh1l3g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/dtolnay/enumn") + (synopsis "Convert number to enum") + (description "This package provides number to enum conversion.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enumset-1 (package (name "rust-enumset")