From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IOLnBhTaK2daEgAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 21:05:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IOLnBhTaK2daEgAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 22:05:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rd2oTOk0; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="PC78e/XW"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730927123; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VvJG7bgr7uhfgYuWznOGPGeJdwUHdeQ/PEv0RSpmQQg=; b=avTM6QhcG+XDucGrlUGOsfBdyQg5dQKt5x+88zl8cqBrTMC0GO8fOsWXYQKI97868USqlQ xtlXCNXZaTlO+QWCFhgrtYSXXmD1fAJ9QU8LoZvBiSzKzy5LFrP/DSj2YYl42DbQT5m+1r DmrYKBnsShhUV+MNQeBOniYdydFBVJjYD1Kl3gRlITpiXDpXShQvwgMdG3H+/v6mDYld64 plXAV61rIkz3sd0eLb2nzFnehQNM09ShXk08TAWfx6rZTg9EGnKeatmwkmQlT6bZWPK+UJ R8hSGd4vtRWkkfrjzhde/jELRucHaI2yH98RsnwB7Ykx6i1r/pwrzotM2CarnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730927123; a=rsa-sha256; cv=none; b=TfJfWrh4YtOAWIWNph25ZXUtJ28GnG3xamCFHbWP0ZWCbF0Np5Bkif3PYC5cDJ8t/y4EQt 1ohhEvYO+8yMxSXfkulKrDWAjY1TVv/GpqjXNPoLELIU25zKgkhcmZv5GM35hjcPOLlYLf ZYfaFUEGC7ZQO68rAApo2y0Mg0ZGEvC5RgQOUf7VSRGrWFUZWVo87/zHCsvJh5zNNYGI1q 3klz60+Gg6OOOk8L76pQjfYp0AaJq80oiYtzBtwaO+NdGJ/fvMRkWxtwG8JF/tXHeH6+nN 4nCm81w6JvwnoaGskKK2jqTrpI9FWhcSNBy4GhJCWSqdeWn4lqL4YQGE5lbAAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rd2oTOk0; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="PC78e/XW"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 D4C455BB26 for ; Wed, 06 Nov 2024 22:05:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8n0g-00020d-P4; Wed, 06 Nov 2024 15:52:14 -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 1t8n0d-0001yV-HY for guix-patches@gnu.org; Wed, 06 Nov 2024 15:52:11 -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 1t8n0d-0003Lx-8n for guix-patches@gnu.org; Wed, 06 Nov 2024 15:52:11 -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=VvJG7bgr7uhfgYuWznOGPGeJdwUHdeQ/PEv0RSpmQQg=; b=rd2oTOk0uEg2RMj2dXUOw0NQjoy/giedVTQbp3Wfx979xr3g/QpPXhRhNTPW029jyCD2Z+Kp9lJbe5MmjMsMFBfv2qo57PmKemXjTCyJ8LM8yEYQNJiSRCFdAvUh3YRahfJ+CZLpe4ehg9f8sezpiDqOPhFM2HJag10V4QpOP0KveUeXTl4vSz/uF0C+IyCBwCx76WaI0+wUGy+d0/Z3oaT6dwTZsFPRtTMogANtNW2GHOBF6dfw9ECqO52VsZ6xQ7sY6D905E/IwWeZB2yeOhON+QvAhOatYT45LPvmlLDY9taT6FOrY9ZxK2JkCigIF8a9iuf0dXivQyMP9tz5Pw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8n0d-0004GG-2X; Wed, 06 Nov 2024 15:52:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCH rust-team 12/20] gnu: Add rust-enum-ordinalize-4. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:52:11 +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 , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173092631716207 (code B ref 74234); Wed, 06 Nov 2024 20:52:11 +0000 Received: (at 74234) by debbugs.gnu.org; 6 Nov 2024 20:51:57 +0000 Received: from localhost ([127.0.0.1]:46172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8n0O-0004DF-J0 for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:51:56 -0500 Received: from confino.investici.org ([93.190.126.19]:41453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8n0G-0004C7-4Z for 74234@debbugs.gnu.org; Wed, 06 Nov 2024 15:51:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730926300; bh=VvJG7bgr7uhfgYuWznOGPGeJdwUHdeQ/PEv0RSpmQQg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PC78e/XWPwOu+prv3mhn1j77Mfegjo8GLg5r/QUTo5KiLXislwu0BfRwgrIuICzl8 h8dC45eLsrNvkmSrdKIIK9xq5iM0YngziVDV7bfGoi3tbXkNK1o/rsOOYFpBl5Ish1 0+fqyoum4ZXVPxwFvd3Oelm2sTen3XJDTZNh4+wk= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHSD39mPz10rG; Wed, 6 Nov 2024 20:51:40 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHSD0jvwz10vZ; Wed, 6 Nov 2024 20:51:40 +0000 (UTC) Date: Wed, 6 Nov 2024 21:50:49 +0100 Message-ID: <4bf32650aecbcb1106cc7c7c56d2922d69e60a97.1730926257.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <7b21dfae877c918e169231417b48e0dd026563b2.1730926257.git.goodoldpaul@autistici.org> References: <7b21dfae877c918e169231417b48e0dd026563b2.1730926257.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.66 X-Spam-Score: -2.66 X-Migadu-Queue-Id: D4C455BB26 X-Migadu-Scanner: mx13.migadu.com X-TUID: CFDHl9HikONI * gnu/packages/crates-io.scm (rust-enum-ordinalize-4): New variable. Change-Id: I5aaf730e4cf03fa604c21c4764cbad5178bfbbc5 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0ef313a442..84eac123ca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24910,6 +24910,28 @@ (define-public rust-enum-ordinalize-derive-4 construction of enums from an ordinal value.") (license license:expat))) +(define-public rust-enum-ordinalize-4 + (package + (name "rust-enum-ordinalize") + (version "4.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-ordinalize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ydbzycxl0kais26lrk6i0riylw1ci4s065pky73vfvrnglbn9k9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-enum-ordinalize-derive" ,rust-enum-ordinalize-derive-4)))) + (home-page "https://magiclen.org/enum-ordinalize") + (synopsis + "Construction of enums from an ordinal value") + (description + "This library 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") -- 2.46.0