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 iF1MFF7cG2C/XgAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 11:37:02 +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 WIEMEF7cG2A7GQAAB5/wlQ (envelope-from ) for ; Thu, 04 Feb 2021 11:37:02 +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 05E9A9401DF for ; Thu, 4 Feb 2021 11:37:02 +0000 (UTC) Received: from localhost ([::1]:45672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7cwW-0000Il-Vd for larch@yhetil.org; Thu, 04 Feb 2021 06:37:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7cue-0007SJ-Gl for guix-patches@gnu.org; Thu, 04 Feb 2021 06:35:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7cuc-0001JD-6A for guix-patches@gnu.org; Thu, 04 Feb 2021 06:35:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7cuc-00073F-3z for guix-patches@gnu.org; Thu, 04 Feb 2021 06:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46192] [PATCH 03/21] gnu: Add rust-enum-primitive-0.1. References: <20210130141347.olmrgflwxkhi2qrw@minitower> In-Reply-To: <20210130141347.olmrgflwxkhi2qrw@minitower> Resent-From: aecepoglu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46192 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46192@debbugs.gnu.org Received: via spool by 46192-submit@debbugs.gnu.org id=B46192.161243849227087 (code B ref 46192); Thu, 04 Feb 2021 11:35:02 +0000 Received: (at 46192) by debbugs.gnu.org; 4 Feb 2021 11:34:52 +0000 Received: from localhost ([127.0.0.1]:39947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7cuS-00072o-7C for submit@debbugs.gnu.org; Thu, 04 Feb 2021 06:34:52 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7cuR-00072b-DK for 46192@debbugs.gnu.org; Thu, 04 Feb 2021 06:34:51 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3A8045C019F for <46192@debbugs.gnu.org>; Thu, 4 Feb 2021 06:34:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 04 Feb 2021 06:34:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=ucm/dH8+chk+bQSOREOea4m/Le+EfPLwcdTKXPqgVsw=; b=QowuETvU hJMgAF5eAILka4Vlp6oPyr26ULkz3J8dORF/798fmjPXfzJHrXaVsf4hcT/BnYO5 tQFmBgKyOR5zi5QZYJ3dRJG3hVsboAOP4vTe7TJ1lZquwiBqU8VoU5f5ejVLWfC0 5zmdTIQR8QFL0HQsdBioJrq9++T/SqqWRm+DekwCe3JMaBV9jw6aFgHE91SoTow6 9Wo9rN2w905ZRs3ktxrkNQUupfA0c4bjP7bub0XaGLgHu3G5CMWlXGGrlVUoqRXK ld9/heR1orCRr7z1mxQScw3G6xJXopj08sIOViq35hrmmuUFhykXCU5Vpv3Mgjhw +NCaFadJwDjvnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=ucm/dH8+chk+bQSOREOea4m/Le+Ef PLwcdTKXPqgVsw=; b=RR08O/4ilC9sYPJKLqOSSX/gngk1bX20y9jTFyME33vf2 dKUP74Frqo5RzCiKnAbJpcJS88VunyEOnpYgOMc0fR0ebUMNTrDLWbeVPYWf/hTo hPP1ObvGzWrIXQYA8p8IBnBpxgcSorZzyIrqQqQU88x0gIQSB1wzpoZ+u88Kjr6c MTNF7xsrLap4e1vLZKMXNePGi7JBfZbVW56o8SRSid94iZQFxKkWwE/zCWQtYEtx A9d0RipZ2S/HojNd4zzyB5EcBl94hL/Wu8kwwv+Z7bVeHN9bHhc8HCFDLnXhSUga U5pS0hKKG1MBR91qIwBya89L27mN+8ZEBPJQG/iyQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeggddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertddttd dvnecuhfhrohhmpegrvggtvghpohhglhhuuceorggvtggvphhoghhluhesfhgrshhtmhgr ihhlrdhfmheqnecuggftrfgrthhtvghrnhephefgvddvgfduvdfhgfegvdekueduveffle eifefhtdduledvkedtuedvueefgfelnecuffhomhgrihhnpehgihhthhhusgdrtghomhen ucfkphepudejiedrgedurddvledrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheprggvtggvphhoghhluhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from localhost (unknown [176.41.29.27]) by mail.messagingengine.com (Postfix) with ESMTPA id B45561080059 for <46192@debbugs.gnu.org>; Thu, 4 Feb 2021 06:34:45 -0500 (EST) Date: Thu, 4 Feb 2021 14:37:16 +0300 From: aecepoglu Message-ID: <20210204113716.6vjzpjbskyu4ufl4@minitower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.fm header.s=fm2 header.b=QowuETvU; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="RR08O/4i"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.fm (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: 05E9A9401DF X-Spam-Score: -0.76 X-Migadu-Scanner: scn1.migadu.com X-TUID: uFmEe2i5A1mO * gnu/packages/crates-io.scm (rust-enum-primitive-0.1): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5a9a0c239a..eb550ce9f0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11048,6 +11048,31 @@ accessor functions on enums.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-enum-primitive-0.1 + (package + (name "rust-enum-primitive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-primitive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "100ip2p3w1rq0clca2ai5shhvpxfipnsjncj0f9ralad5w4m2idy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.1)))) + (home-page + "https://github.com/andersk/enum_primitive-rs") + (synopsis + "Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0") + (description + "This package provides a macro to generate num::FromPrimitive instances for enum that works in Rust 1.0") + (license license:expat))) + (define-public rust-enum-to-u8-slice-derive-0.1 (package (name "rust-enum-to-u8-slice-derive") -- 2.30.0