From patchwork Sat May 4 11:34:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64029 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 63A5D27BBE9; Sat, 4 May 2024 12:38:56 +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=unavailable 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 1283E27BBE2 for ; Sat, 4 May 2024 12:38:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Di4-0003Zi-03; Sat, 04 May 2024 07:37:44 -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 1s3Di2-0003Y3-0O for guix-patches@gnu.org; Sat, 04 May 2024 07:37:42 -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 1s3Di1-0006JK-OF for guix-patches@gnu.org; Sat, 04 May 2024 07:37:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiO-0004TF-KD; Sat, 04 May 2024 07:38:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 03/75] gnu: Add rust-async-fs-2. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482265816823 (code B ref 69257); Sat, 04 May 2024 11:38:04 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:37:38 +0000 Received: from localhost ([127.0.0.1]:52889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhx-0004N1-A6 for submit@debbugs.gnu.org; Sat, 04 May 2024 07:37:38 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44215 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dht-0004Lm-C2 for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sGrc8+du/6OH+Yjpg1AJXWvBMCrCfhbDjVJKftSxHC8=; b=pPxU6/ljf3xxigGSY1H9DxY53ZdKMWiEV/iJSKicM7oxowqVf9fpywJiWMoJDEMiaS6opB i6xhWIj7kIL+iqASZ7GjRC4pEoJIPtGL1kOW3zHcMaQEQTJsYsxIThUojh95Ga/6TBMq6Z Jzty1uQfPLCrL+RSC+GFIPqdB0ae2WxkbHjZiJIBCm6Nc2O7p1rZpMQIhquud8+Ej5s6pU 7On+sU7Vab2wOJcVpLnWFPBNhlXnGhAG9Zi132lUbVCl+mkAtqy3JwclrmKb+NmcTwpExy cjGNXNWJ//2WH+e+Rk9u9CzsD4jMh+i1rfB//UNROJe6nGr3OSGOkj2QI8tkaw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id a05cbe80 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:36:58 +0000 (UTC) Date: Sat, 4 May 2024 13:34:35 +0200 Message-ID: <9155b218e3485560c0fbd0cd5e4277d01f5ebddb.1714820129.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-async-fs-2): Add variable. (rust-async-fs-1): Inherit from rust-async-fs-2. Change-Id: I5d75f7867a276cce680da8ddd786e7364af1aa68 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b6621926f9..391815ce34 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5028,8 +5028,33 @@ (define-public rust-async-executor-1 (description "This library provides async executors.") (license (list license:asl2.0 license:expat)))) +(define-public rust-async-fs-2 + (package + (name "rust-async-fs") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jp0p7lg9zqy2djgdmivbzx0yqmfn9sm2s9dkhaws3zlharhkkgb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-3) + ("rust-blocking" ,rust-blocking-1) + ("rust-futures-lite" ,rust-futures-lite-2)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/smol-rs/async-fs") + (synopsis "Async filesystem primitives") + (description "This package provides async filesystem primitives.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-fs-1 (package + (inherit rust-async-fs-2) (name "rust-async-fs") (version "1.6.0") (source @@ -5039,18 +5064,13 @@ (define-public rust-async-fs-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01if2h77mry9cnm91ql2md595108i2c1bfy9gaivzvjfcl2gk717")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-2) ("rust-autocfg" ,rust-autocfg-1) ("rust-blocking" ,rust-blocking-1) ("rust-futures-lite" ,rust-futures-lite-1)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/smol-rs/async-fs") - (synopsis "Async filesystem primitives") - (description "This package provides async filesystem primitives.") - (license (list license:asl2.0 license:expat)))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-async-global-executor-2 (package