From patchwork Mon Dec 9 01:11:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 34675 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 7569B27BBE9; Mon, 9 Dec 2024 01:18:21 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=unavailable 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 94ACC27BBE2 for ; Mon, 9 Dec 2024 01:18:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKSPV-0004yg-Di; Sun, 08 Dec 2024 20:18:05 -0500 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 1tKSPT-0004xg-V5 for guix-patches@gnu.org; Sun, 08 Dec 2024 20:18:03 -0500 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 1tKSPT-0005xv-Li for guix-patches@gnu.org; Sun, 08 Dec 2024 20:18:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ssosSw/5PCYwfxAcR21dpCkLJUkCqrMMtJ8Nv1BBFBM=; b=GWcIPUpCXkFBy2V4rIeG8GMPpeHKbikEkUF+wJ8vtRfXbBOSBFDGP4vhHrCulAN0muy7DRZwDmcFWspg2Ykbv6nqE2Gq95dyS/yRnAbITL3ZPNtsp0LAGeZibw/A1tpCuDDOJ0i/Q9IElJHOdo1tA0i1/JD+hJNqkuaQ5cFYCrCqwlRmhM0xsULqKxcGQyra5667Z2WpC2FJq6yCp8BJPAMS9v//0UnaHpFJyRQaVvAks/1CCrSXuajTHTKbdE1A87xeXTdwUj4XnAc1DKcENFBO+xEvMDqpmMA4jbBSfesS9W7hw18fGqFjJO+iN96YkDmIq8FjhjTiCtx71elPdQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKSPT-0003Dg-Gr for guix-patches@gnu.org; Sun, 08 Dec 2024 20:18:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCH rust-team v3 15/23] gnu: Add rust-enum-ordinalize-derive-4. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 01:18:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74234@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173370708212360 (code B ref 74234); Mon, 09 Dec 2024 01:18:03 +0000 Received: (at 74234) by debbugs.gnu.org; 9 Dec 2024 01:18:02 +0000 Received: from localhost ([127.0.0.1]:52205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSPR-0003D8-LX for submit@debbugs.gnu.org; Sun, 08 Dec 2024 20:18:02 -0500 Received: from mail-qk1-f181.google.com ([209.85.222.181]:46184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSPP-0003Cz-Hm for 74234@debbugs.gnu.org; Sun, 08 Dec 2024 20:17:59 -0500 Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-7b6c2bc1d21so133492785a.0 for <74234@debbugs.gnu.org>; Sun, 08 Dec 2024 17:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1733707019; x=1734311819; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ssosSw/5PCYwfxAcR21dpCkLJUkCqrMMtJ8Nv1BBFBM=; b=AcXpXaD68cSrfMzLe7C8U5wMAfHGTTodFeyQKTzzW6tfwvw9yPdYAv24vMe51NSEXQ QJSkhfl4GYWacOeM8ErFsfOPsL5pDV5K276lYHy0gBmuCvIh5tGAlEheUS3Qz0nGjSar 5rvIwKvw1Ib8E8zPdBspv0L0LhTS6kOvwlJoI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733707019; x=1734311819; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ssosSw/5PCYwfxAcR21dpCkLJUkCqrMMtJ8Nv1BBFBM=; b=e5qSfcuZ7MB3AEL4uciHTMGVwQxQom9xNgUbGX+n44o0IZYkw9CkYlPidmMFsGsjOV jtBlZaZyq6NcmDvv/Pts52SJKKxEHmz8chYusB3mZESIce3fkgpAZNj+MN2JR+jO9cRb i1Qos2zZDjfaq6hr3u/di/Jp2eUT2+pQwRj1RLdhtY4QxXGKqx/bdr7ed7J4tUF4eNME 6OTTyx2lhftNMOA+bwSkGSlOil2ZfK8MNlQQoHp4KpCzVcBQWKYWMr58QxnBB3vqZmrZ 2vcrodiyCSalhEyX/sSJW31YEkWz1dFrwsa9Iz4n6MvXV9kAjLwfU0nM/sICx4FtPMNC LLcw== X-Gm-Message-State: AOJu0YybilCO39dEV8D/KbRf8DYZCJSnIrUHybIhmd356hXJUsrgzIqC 6dId1o1E/1ssKmKrmtR9xgzqSCDe539VdTBkW7TKIaPC07NherpiU4aAmw2GhLc1yoopFerqyY/ Yj9yyyv+UpKxd73LC6X65tzvg0afvH7k8RgTzJTbqZUi9MANW82747SkE3cP5IyNbdcBnwa8vgK AubEv4Odsvn6gtynruNo7IPVCb0lshl65fFkXZdiQ= X-Gm-Gg: ASbGncvjniCqA6cPHgdQIVZAEMouKDRPFf5q1eyqtCtE0ohxK0iF6IIM1JJ1ZcYa78v l2LkbikNe8yJruvtqvbZfV8SJ0MLFUmdRwjhUsuPawDRoSPb9kZDM3ip5fg4bpucLgvIyQ5YtMq ywoaDtQB8SC+DhwhM7fFj2GdoopH/cCxE/9QhFIn4AY4xawZuFdE931l1z7mt3KtCCja0qwRMSV ZtFbKh8zg8LHYDdcT24KU8fSBS+1YcQRPaKoVFg6OpBxmu8F6e5QPf//Jrf8Rpe4NkuGdqhVeed U8SX4vUCg27yvMBly4X22mPnEak57N5XgO8qxqmYv3P1jlY8itg= X-Google-Smtp-Source: AGHT+IFa/Oq5BHUQsreTRKkmXf2l/1OGeGIqnZiCLnS+LCdiu/KleRyjOY8Rp8BNbFhg3v27ewlLpw== X-Received: by 2002:ad4:5c66:0:b0:6d4:25c4:e77d with SMTP id 6a1803df08f44-6d8e71eba9amr199936376d6.34.1733707018907; Sun, 08 Dec 2024 17:16:58 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d8e69b7143sm34894816d6.61.2024.12.08.17.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 17:16:58 -0800 (PST) Date: Sun, 8 Dec 2024 20:11:39 -0500 Message-ID: <20241209011150.1455224-16-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241209011150.1455224-1-aaron.covrig.us@ieee.org> References: <20241209011150.1455224-1-aaron.covrig.us@ieee.org> 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: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig 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 From: Giacomo Leidi * gnu/packages/crates-io.scm (rust-enum-ordinalize-derive-4): New variable. Change-Id: I5f56252a4eb4626ba6d2cece964c975e341a7280 --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc4e17c411..bf6f994a72 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25492,6 +25492,30 @@ (define-public rust-enumflags2-derive-0.6 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-enum-ordinalize-derive-4 + (package + (name "rust-enum-ordinalize-derive") + (version "4.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-ordinalize-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zy53fabazimwv5cl0366k834ybixzl84lxj9mfavbnlfn532a0d")))) + (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://magiclen.org/enum-ordinalize") + (synopsis "Macro that enables construction of enums from an ordinal value") + (description + "This crate provides a procedural macro that enables enums to not only +obtain the ordinal values of their variants but also allows for the +construction of enums from an ordinal value.") + (license license:expat))) + (define-public rust-enumset-1 (package (name "rust-enumset")