From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kIVfEk8eNmYAgwAAqHPOHw:P1 (envelope-from ) for ; Sat, 04 May 2024 13:38:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kIVfEk8eNmYAgwAAqHPOHw (envelope-from ) for ; Sat, 04 May 2024 13:38:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="pPxU6/lj"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714822735; h=from:from:sender:sender:reply-to: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=sGrc8+du/6OH+Yjpg1AJXWvBMCrCfhbDjVJKftSxHC8=; b=sABM1t4QfOnNJiGvE5GNnu14mzwrO7Cp7Zy8/m9C+90I97honzJlR4kL35oqbCoFQM6ZR4 SmCMS6yNQ0jCKlGG4NFdBAF8AuXeiZWaH8O6HXcXSWTf3EUoSFnkk4OLCj7C/wH6Mce65W r84Pgq9TmJLRUnVdhPYQVM3xnniLnc9DAB1nO2kdr0wgVwWd94tBbVA1YdQ91LdIteE9o0 tW28obDKs5ep0/wtRKBAS1hFy2upiJ97lzJ/IlBKNwnswYCT/HrGwY5K8PMqHi/VWMks9C BijREvYl9yB1u7YWSjcFVnMQCiPngKMvWPnLqtUwzec/0F3JAU0kf4AmCvzTog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714822735; a=rsa-sha256; cv=none; b=IIeEfIvNtDNtmRSIgCUmPn2KuVzZLSTMu87IYe194U1MahtNxVmBXAaAVmd9hYy4eiLlMb pUdZ+qJ0JeMLcKgoQm3OpFIzXq4iRiCZvIJaIG2EFJmigIkGKoQ210w/FWQiE+iqHxN1uB h40ygMLIBJZH8ic9F9Xgr4hJKQ99bFoRXFKIchnP/x3OfW2J/6RdT9vXS7cJ6kz3umYLQs jWSdelB3vaJiBwpHIXYMKo1Hc268prf0rfKelb2cafCUdETOyVo/JkFcpOSMFhCqvFFUPR UK9DbdVhElyl4YQR+hiC311V9W/NrwODXlwxHQ9Vx4myVRFz0FCFGMQpAN20cQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="pPxU6/lj"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 2DE7D383D4 for ; Sat, 04 May 2024 13:38:55 +0200 (CEST) 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 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.89 X-Spam-Score: -1.89 X-Migadu-Queue-Id: 2DE7D383D4 X-Migadu-Scanner: mx11.migadu.com X-TUID: lgo7OIDSVPTU * 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 -- 2.41.0