From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gC8JM15ILWd/ggAAe85BDQ:P1 (envelope-from ) for ; Thu, 07 Nov 2024 23:08:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gC8JM15ILWd/ggAAe85BDQ (envelope-from ) for ; Fri, 08 Nov 2024 00:08:14 +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=QFef9Wrw; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Lb27BZh0; 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=1731020894; 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=PLRwj/Q3qPRWufbibfXbbyoFR94BAodjASBmDyXa6po7V3I1e5X6tKeNQXbfbon65YolrV /kOFcG40SRF3ZP4pBwzuKQqmhkJ0p/vTKpNtmLBQ2iskAE70OOo6BGbwLimmNk6INwVwu/ gLrxK9tf3KJLwwLhfljEZqRE4LtOvSkw0hZ126sU8GJA62tddH9HGZzlyIjOW4bpHbOad/ VGRPfKC44eiN8BgGgVVBaldke+pR3OoHkVx/9XlrI2RMi4cbMnDjUBmcBu7de41dxmIZu1 QLi67/QOJ5YvaWH87/xlICz1wR9b4+Ll1euMax2jT71vrxneWzx3pLB2YxXLMw== 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=QFef9Wrw; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Lb27BZh0; 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-Seal: i=1; s=key1; d=yhetil.org; t=1731020894; a=rsa-sha256; cv=none; b=lB5J/JsNqVL0m8SRvSL8RC4eKf3GAbiNZl/gVu3OOOCNRRvF0UGgzEoykNqr6hZVsJY62l I1yCsV7JxirnnmNh9AovxLt4ebe0qeS+KGg5D/BCcPnGa/KH8ktWzwVjQuMk6N3ejFMCSv +5nnSH9B+f5kZoEbU9EiWxo5y/bOmyKM/p0l2TSo0vqj2UL5uIoKRByVrTwmDE52mx+enc 6sML7GrpChC2N0KAi86R25g+h54Nh/7fNcReiyFDxBezAb2DsAxWM04hdRuGN5UrK32EqN ouZYcMsQZGee1DC7ZQLMb1WLpiFzDn/aA7WHSLwwzkGiULCL0ma58xdiytv/1Q== 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 7E2687AB93 for ; Fri, 08 Nov 2024 00:08:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Az1-00085i-Co; Thu, 07 Nov 2024 17:28:07 -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 1t9Az0-000855-BI for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:06 -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 1t9Az0-0007tu-2f for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:06 -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=QFef9WrwavU2qZeXDXv5Wvd9M+nIysG40sEA+l8SWbGnMbR/oJMdkwhoLRZ5nTVDHNmnzdqYGoZZdo9IGezTq8shF/sXFeEYzNBr4+YG1yJ6SnyNwnF/FgLdNqzmsJT32G4+41j6nvJr0D4waQyumu3d8s4hvmAtMJl5W+AHrpQKKX0DBGyQgqaK49TQrPoXWXCQqqvWAvRBaAheAOz/XWl6lvaeUo3Vs4ClTu0JIG2QlgARPw/HzvtSs5D5wGc2MDCUev8VZTRmY9Ljk5Q9pPwhiyKZwfpPqxjRp0DP4kHRLi8jnflIDc5/H64cF7b7muZh83RENTP5lLtrEZkJlA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Ayz-00082a-S0; Thu, 07 Nov 2024 17:28:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 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: Thu, 07 Nov 2024 22:28:05 +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.173101847130742 (code B ref 74234); Thu, 07 Nov 2024 22:28:05 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:27:51 +0000 Received: from localhost ([127.0.0.1]:50154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayk-0007zW-F1 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:51 -0500 Received: from confino.investici.org ([93.190.126.19]:60563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aye-0007y0-TB for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018464; bh=VvJG7bgr7uhfgYuWznOGPGeJdwUHdeQ/PEv0RSpmQQg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lb27BZh0R4Z66uVhnVFVpVNeCDO8WLcLIJDIjAACDCTBwzL0HVYYl7XWtOhRMAG1w scn6aIuBl1k0MzfdrWkN1ds8wGOVS9Q0Tr6h4JnpdzRUo6AwoIslRom9/DJzxOkbcD rkSKEEh5yfyi22eR3US4eVkaVWssccG0BBl/XUYE= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXc3Hrrz1134; Thu, 7 Nov 2024 22:27:44 +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 4XkxXc2Z6Nz1111; Thu, 7 Nov 2024 22:27:44 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:09 +0100 Message-ID: <731f2410804e9438647737a2a83afe0ed7bc5575.1731018436.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> References: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.57 X-Spam-Score: 0.57 X-Migadu-Queue-Id: 7E2687AB93 X-TUID: M0BW8M0AyE5N * 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