From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aP8HBLR65mA5JgEAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 06:10:28 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eNFXO7N65mDwHwAA1q6Kng (envelope-from ) for ; Thu, 08 Jul 2021 04:10:27 +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 aspmx2.migadu.com (Postfix) with ESMTPS id AC62B206C2 for ; Thu, 8 Jul 2021 06:10:27 +0200 (CEST) Received: from localhost ([::1]:58242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1LMo-0000O6-OI for larch@yhetil.org; Thu, 08 Jul 2021 00:10:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1LMR-0000Kv-PR for guix-patches@gnu.org; Thu, 08 Jul 2021 00:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1LMR-0006gu-IL for guix-patches@gnu.org; Thu, 08 Jul 2021 00:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1LMR-0007LP-Dj for guix-patches@gnu.org; Thu, 08 Jul 2021 00:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 04:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49462@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 49462-submit@debbugs.gnu.org id=B49462.162571735328123 (code B ref 49462); Thu, 08 Jul 2021 04:10:03 +0000 Received: (at 49462) by debbugs.gnu.org; 8 Jul 2021 04:09:13 +0000 Received: from localhost ([127.0.0.1]:53992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1LLc-0007JR-P1 for submit@debbugs.gnu.org; Thu, 08 Jul 2021 00:09:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1LLa-0007Ig-8G for 49462@debbugs.gnu.org; Thu, 08 Jul 2021 00:09:10 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 349C72400E5 for <49462@debbugs.gnu.org>; Thu, 8 Jul 2021 06:09:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1625717344; bh=AoioU7KLbr12XsUx52jy0oFKmNeevCcAid86aItI/ME=; h=From:To:Cc:Subject:Date:From; b=r3NY1EghVcMvaQ5ojKclVk5HmiHCWIGUzcHft1rwxd4BxFUN4uj7o0MZsKPmI3T46 Ae6xqAGj8TxR2tfmYvEXuC8KKO/Sbz04V72l2zh2tQHUjzDpvSVJd1XI8oMoKWhoc+ fh7vjrmULA37onn26oujCbvMorIYP3E5hLbDyIiISvYV7020HZy+dK4Q1lYl6Et6uf M7x1jx4kJ7S1mKGcdL3NONkNyFK3yMKYgQEQpXFtypwBBzNfBAjAGz5HIfiKRhZrYD ucO1qRifwLw7pGgYDMHPTz7sd/KDvcMMCiy5eglkq64vPwNa8OaZj5z0n0fAUFQ8F8 nkcvu3ivokt2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GL2q257X8z6tmG; Thu, 8 Jul 2021 06:09:02 +0200 (CEST) From: Vinicius Monego Date: Thu, 8 Jul 2021 04:08:33 +0000 Message-Id: <20210708040836.22307-3-monego@posteo.net> In-Reply-To: <20210708040836.22307-1-monego@posteo.net> References: <20210708040836.22307-1-monego@posteo.net> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625717427; h=from:from:sender:sender: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=5naLxlRbc6ICAiw2QJ2MBxcKWl8+aNFeCJ8YnTLdyUg=; b=RLHpDXoiMjfqypw6xAog433ywuN3/nffTIVSijZsAlcFGHO/WBR53vdIVBH5oWEOYvkFkz rLL1vy2cZUA0Lq66l7pKPjKOMubzrKiHIVmhWBZCXage+HneX7n5XDDXZ4r3EEEUEAq6M4 mhU6Dxs+m7bJRtvvkXSSh1H+/KKf4Fo3TLbZ0m7zFF7SSR91+10C85aoXi2suo84VPQ/YS MrmpsMWc2d88HX5Tt+DavA5uT3dGyc9vIr2/CBUk6zrCkCXHkuZcPXoZjQyBKEsmwz8XAq 6pDninopH6/4CaOVkkO9Yl46pPwDTjNwHgFJ7GmwCvHWNh9MndpjiH1tUcIxqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625717427; a=rsa-sha256; cv=none; b=fCtbzDsU1+cExxa6d7dsWC+ZadUzVpTQMafKh5HRMKH2gyOJH0AyvVnC1hyFBxYvFRKL2E SNQuygi7aWg8lwSuVtpAX5YN2f+JwDd4xhZcnGE/bbBylB58/DseV61/5NmueQdHLqEgTk o4mRLF6x786Wu4sYVg13B50+Yo6UyFLGYQwW16doe088X8JCrykU3qOjPq30yt4EVyRLqS RMLrp2AtxHrMvEv6tS61eL+1cYivnMXuq2L+5CnZuGz+KmDy0AZMMYw5Ar/FxG18e36leb 9lEhKfQ0WlbAkB3CKewp6mUIPdJOuZmUn+YKqZSUtPZv8MUGIhVDbjGUVXotLw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=r3NY1Egh; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx2.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-Spam-Score: 3.69 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=r3NY1Egh; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx2.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: AC62B206C2 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: +Itc7GsaaXYj * gnu/packages/crates-io.scm (rust-unwrap-1): New variable. --- 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 2bbfba39c4..bfe51a0fc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51708,6 +51708,30 @@ untrusted inputs in Rust.") (sha256 (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam")))))) +(define-public rust-unwrap-1 + (package + (name "rust-unwrap") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unwrap" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wm4zzm684d5d1lnjvvzzwazlzq7zs7j76x36842zb398bsn34wr")))) + (build-system cargo-build-system) + (home-page "https://github.com/canndrew/unwrap") + (synopsis "unwrap! and unwrap_err! macros") + (description + "This crate provides two macros, @code{unwrap!} and @code{unwrap_err!}. +The former can be used to unwrap values of type @code{Result} or @code{Option} +(or any type that implements VerboseUnwrap) and is comparable to calling +@code{unwrap()}. The latter can be used to unwrap an error from a +@code{Result} (or any type that implements @code{VerboseUnwrapErr}) and is +comparable to calling @code{unwrap_err()}.") + (license (list license:expat license:bsd-3)))) + (define-public rust-uom-0.31 (package (name "rust-uom") -- 2.32.0