From patchwork Sat Mar 4 14:06:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjan Adriaanse X-Patchwork-Id: 10630 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 68B0916D4A; Sat, 4 Mar 2023 14:07:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 7F80416D47 for ; Sat, 4 Mar 2023 14:07:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYSXS-00086N-Sa; Sat, 04 Mar 2023 09:07:06 -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 1pYSXR-00085B-Ct for guix-patches@gnu.org; Sat, 04 Mar 2023 09:07:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYSXR-00037n-4z for guix-patches@gnu.org; Sat, 04 Mar 2023 09:07:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYSXR-00010L-1z for guix-patches@gnu.org; Sat, 04 Mar 2023 09:07:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61958] [PATCH 29/32] gnu: Add rust-io-lifetimes-1. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Mar 2023 14:07:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61958@debbugs.gnu.org Cc: Arjan Adriaanse Received: via spool by 61958-submit@debbugs.gnu.org id=B61958.16779388203789 (code B ref 61958); Sat, 04 Mar 2023 14:07:05 +0000 Received: (at 61958) by debbugs.gnu.org; 4 Mar 2023 14:07:00 +0000 Received: from localhost ([127.0.0.1]:35595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSXM-0000z2-7K for submit@debbugs.gnu.org; Sat, 04 Mar 2023 09:07:00 -0500 Received: from dane.soverin.net ([185.233.34.25]:34123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSXH-0000xF-EQ for 61958@debbugs.gnu.org; Sat, 04 Mar 2023 09:06:55 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4PTRV41dFszyQt; Sat, 4 Mar 2023 14:06:52 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4PTRV308DJz4N; Sat, 4 Mar 2023 14:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1677938812; bh=jHqTtYglNH5Q0mviaVuJjw0aX4sckIbaTh6/sP9u23s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dUGdgdrIDu6ZfxAectafJv8eEWArtDxyaNXogFHlCAhNEpTQKKSnS1DA9hnOwOw/5 zP4zeBiI3jOaTLhbRJeWEjHB8AF5/2HMeWH9JAtk1pRTX0wQR3ZvSeEcgIoheWScjZ 6ux5bLFjeec7iKxTblsyotYdrodbscleETtwerWFSocyGXEdz7Fzoii5eMSvtycW9p jWadTa9PLY4YQs1eH1kcy38wmnwFa9x19uABA6aHdWbFgzM1xmj+uzoNs+5u2YrJG1 geocGlFfe+PkHxD7phdKEeYP5lEAdbb7i7GlYxu62sLFhCXrosD4MqCnifTDdYaQAt 65c7FpXkxRGPA== X-Soverin-Authenticated: true From: Arjan Adriaanse Date: Sat, 4 Mar 2023 15:06:42 +0100 Message-Id: In-Reply-To: References: 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-io-lifetimes-1): New variable. (rust-io-lifetimes-0.7): Inherit from above. --- gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a5f957cd32..5b8023efaf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28284,8 +28284,39 @@ (define-public rust-inventory-impl-0.1 ;; Either license can be chosen at the users option. (license (list license:expat license:asl2.0)))) +(define-public rust-io-lifetimes-1 + (package + (name "rust-io-lifetimes") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "io-lifetimes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cqg2zy012r0l3l772mjh45m11jm0ybw7bgqgwk8308gvnhbgghs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-0.8) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-socket2" ,rust-socket2-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-windows-sys" ,rust-windows-sys-0.45)))) + (home-page "https://github.com/sunfishcode/io-lifetimes") + (synopsis "Low-level I/O ownership and borrowing library") + (description + "This package provides a low-level I/O ownership and borrowing +library.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-io-lifetimes-0.7 (package + (inherit rust-io-lifetimes-1) (name "rust-io-lifetimes") (version "0.7.5") (source (origin @@ -28295,7 +28326,6 @@ (define-public rust-io-lifetimes-0.7 (sha256 (base32 "0x10ak2iy4p24g7bnp1rfrq6aqddjlzkykgwjdayi7nl97wmxkjr")))) - (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-async-std" ,rust-async-std-1) @@ -28305,14 +28335,7 @@ (define-public rust-io-lifetimes-0.7 ("rust-os-pipe" ,rust-os-pipe-1) ("rust-socket2" ,rust-socket2-0.4) ("rust-tokio" ,rust-tokio-1) - ("rust-windows-sys" ,rust-windows-sys-0.42)))) - (home-page "https://github.com/sunfishcode/io-lifetimes") - (synopsis "Low-level I/O ownership and borrowing library") - (description - "This package provides a low-level I/O ownership and borrowing -library.") - (license (list license:asl2.0 - license:expat)))) + ("rust-windows-sys" ,rust-windows-sys-0.42)))))) (define-public rust-iovec-0.1 (package