From patchwork Wed Aug 30 19:58:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 53320 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 169AA27BBEA; Wed, 30 Aug 2023 21:01:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 A244A27BBE2 for ; Wed, 30 Aug 2023 21:01:31 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbRN5-0000ti-2w; Wed, 30 Aug 2023 16:00:59 -0400 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 1qbRN1-0000mf-RH for guix-patches@gnu.org; Wed, 30 Aug 2023 16:00:55 -0400 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 1qbRN1-0002c7-Ij for guix-patches@gnu.org; Wed, 30 Aug 2023 16:00:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbRN9-0004W4-9a for guix-patches@gnu.org; Wed, 30 Aug 2023 16:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64720] [PATCH v2 3/8] gnu: Add rust-either-1.6.0. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Wed, 30 Aug 2023 20:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64720 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64720@debbugs.gnu.org Cc: Distopico , ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 64720-submit@debbugs.gnu.org id=B64720.169342563217235 (code B ref 64720); Wed, 30 Aug 2023 20:01:03 +0000 Received: (at 64720) by debbugs.gnu.org; 30 Aug 2023 20:00:32 +0000 Received: from localhost ([127.0.0.1]:54151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRMd-0004Tu-Os for submit@debbugs.gnu.org; Wed, 30 Aug 2023 16:00:32 -0400 Received: from mx1.riseup.net ([198.252.153.129]:37110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRMa-0004TR-PH for 64720@debbugs.gnu.org; Wed, 30 Aug 2023 16:00:29 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4RbZsC4PgrzDr2f for <64720@debbugs.gnu.org>; Wed, 30 Aug 2023 20:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1693425615; bh=p/nauWG0CJfdJz1uE4My6Lpx2b6T0nmgWXEnhINfCjI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dkFzVfrs7cGpsZ1QIi1IQrfd0ANJU4Oq7Xaok6XiwFp7BoeZvGPchpjkaC4Cv0Psr yRyMluRcwDsQNEB8Zr+RIB+2CO5LGSQWnp3/BdorStBkxNdd0LavnHva4QRrHqIPkS B8Q3jQ/2ojO3roB8DgKlgJkJFGUjz8EHkM2PQgYE= X-Riseup-User-ID: 162C525B084917346E73015AB27269606AFFD9C7BD03A878E2EF94B816C8DB67 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4RbZsB6QVYzFpch; Wed, 30 Aug 2023 20:00:14 +0000 (UTC) From: Distopico Date: Wed, 30 Aug 2023 14:58:15 -0500 Message-ID: <20230830195955.16158-3-distopico@riseup.net> In-Reply-To: <20230830195955.16158-1-distopico@riseup.net> References: <20230830195955.16158-1-distopico@riseup.net> 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: , 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 * gnu/packages/crates-io.scm (rust-either-1.6.0): New variable. --- * gnu/packages/crates-io.scm (rust-either-1.6.0): New variable. gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b6e2ac4507..6a0f4e187d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21557,6 +21557,24 @@ (define-public rust-either-1 @code{Right} is a general purpose sum type with two cases.") (license (list license:expat license:asl2.0)))) +(define-public rust-either-1.6.0 + (package + (inherit rust-either-1) + (name "rust-either") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "either" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mwl9vngqf5jvrhmhn9x60kr5hivxyjxbmby2pybncxfqhf4z3g7")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1.0.73)))))) + (define-public rust-elf-0.0.10 (package (name "rust-elf")