From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +MNwMl7VK2cwUQEAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:45:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +MNwMl7VK2cwUQEAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 21:45:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ff4qwyAJ; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=ApMsvrY2; 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-Seal: i=1; s=key1; d=yhetil.org; t=1730925918; a=rsa-sha256; cv=none; b=f+HnHDyPBC8C8Kmmt9PSfOctw47+2VgOGnJ1akpuqUvePV9aLnkm7+fMJAaf/80Fvn9C8v p1FooFdgCrCRE9PEh/+iJbR1jkTuazKXYWQZS8m5eN+bcAVThJLW2SrIvx891PE2xG//XM mGrsLWTQWmLwvOV5I8TrNy//Ylpd0Sfja2dZdzz6nNSl3EJWoGo25rtGxVoR3ojf8CsYsn ufmak+e+Af/dolXmi7koBjmIA/O8bk/TVc8Ke0peyHo1Tb1Jja/dmHT12JJTEZy+UX3E/6 h1MJcIzy5TM0NPzIAU7/Q/A+x5L1fR3KW6OAKoVxgp0dbu9SpzJ8Nuika4NwKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ff4qwyAJ; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=ApMsvrY2; 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=1730925918; 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=DehhlwEp8qL6ydngOEAxcjTRmJq5CKDpyLakGRKeDYE=; b=JvNnPHpeTsabnTqrcwQwBGabny9dDVTSs25TLDZ6t43fHpUmLlpokrMHYWgtcBGK4Lzwrr TzLI4WO6+p8aoMQHmf6H0c1NygT58otfDZ9qR8H5x/DYf0wRdMcFF7zPvzaVF8HKMItdzM 1OM0Ia7sj3e3c90RhB8hRd16whCLRo/dU+O/GMmHx8I63Ae9lKtTkjj/pI2gyrIG3Cfvo9 stbUSfMoqElk/ZVR0GE+Yq1rKvF9tAWM3wsICVwU5lTKoCfi+2yJ/AX94kcWS7tbxFmHOQ US3boOfLi9NkxlXb7OMmYBV5b0JEYvGG2twOJcSYh7R6PrXEbCsRsnTKWnlF1A== 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 9340E64E64 for ; Wed, 06 Nov 2024 21:45:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mtD-0001eP-2x; Wed, 06 Nov 2024 15:44:31 -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 1t8mst-0001PM-Eo for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:12 -0500 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 1t8mst-0001KV-6Y for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DehhlwEp8qL6ydngOEAxcjTRmJq5CKDpyLakGRKeDYE=; b=ff4qwyAJ5TZIOh7ampoCn47fv3FZmDHAkPRU4UAxLGAXIJP8EV1FJx4schIyKhDh7YhgH8fYsIpdPTF6XJt6Bn8/8vKzoUmX5VeS7o/edGAtE+MCl+bPIrZ/c7jcQ97+2xbqtE4KIQYs+/Pj1xiE0sU15b9nY2iGFYH+hSP60A47J/D13OTfoyjrVe2zwyZJEXCnRVQhDi56CL+CH6aMMCScm/9bNom7CUc/9e/yxjmEe2ViqFKrZ03h07r4R9umDRqlDLvE+proowxtgokVYpRpwdz9BwtyE494F7FclYT9+0h6WXTiZ9DP3xNpcxurCrG77zCvf+DB7YnjpdeDTg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mst-0003WQ-0o; Wed, 06 Nov 2024 15:44:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 21/25] gnu: Add rust-blocking-1.6. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:44:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74232@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74232-submit@debbugs.gnu.org id=B74232.173092584313393 (code B ref 74232); Wed, 06 Nov 2024 20:44:10 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:44:03 +0000 Received: from localhost ([127.0.0.1]:45826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msh-0003Sn-9s for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:44:03 -0500 Received: from confino.investici.org ([93.190.126.19]:47017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msd-0003Rw-E5 for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925834; bh=DehhlwEp8qL6ydngOEAxcjTRmJq5CKDpyLakGRKeDYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ApMsvrY2ahCiT9j7m/mjdi5EqlC+hy6gwM3xrhQp2VYXmwCHE/p3JdvoDb/fXoNOY tuUtyusbr2a/owoHWpoOMK9yfwyUhWwA1MTtvtnMqD858gUWV4Px1MU23CsWiO+S1Z Ixsz3NHHPbEh3g1UN1hgwCI0KiUv7oHrE48g6EJk= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHHG72Nyz10vR; Wed, 6 Nov 2024 20:43:54 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHHG1qv6z10t7; Wed, 6 Nov 2024 20:43:54 +0000 (UTC) Date: Wed, 6 Nov 2024 21:43:07 +0100 Message-ID: <1a817abc6cecb9fe22a2ca509e75b20f3bb00153.1730925791.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> References: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi 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.06 X-Spam-Score: 1.06 X-Migadu-Queue-Id: 9340E64E64 X-Migadu-Scanner: mx12.migadu.com X-TUID: kY8vYre2Pp7e * gnu/packages/crates-io.scm (rust-blocking-1.6): New variable; (rust-blocking-1): inherit from rust-blocking-1.6. Change-Id: I491c5d387beb1537d40a6d030f67eda174e344d5 --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fad2244133..8328234c65 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9041,8 +9041,38 @@ (define-public rust-block-padding-0.1 `(#:cargo-inputs (("rust-byte-tools" ,rust-byte-tools-0.3)))))) +(define-public rust-blocking-1.6 + (package + (name "rust-blocking") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "blocking" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1si99l8zp7c4zq87y35ayjgc5c9b60jb8h0k14zfcs679z2l2gvh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-async-channel" ,rust-async-channel-2) + ("rust-async-task" ,rust-async-task-4) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-piper" ,rust-piper-0.2) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-futures-lite" ,rust-futures-lite-1)))) + (home-page "https://github.com/smol-rs/blocking") + (synopsis "Thread pool for isolating blocking I/O in async programs") + (description + "This package provides a thread pool for isolating blocking I/O in async +programs.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-blocking-1 (package + (inherit rust-blocking-1.6) (name "rust-blocking") (version "1.4.1") (source @@ -9052,7 +9082,6 @@ (define-public rust-blocking-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0aiy8y524jvxl942hh5naxjjn7b5rjapsjqb6vfv6x45sk8a8dlc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-1) @@ -9064,13 +9093,7 @@ (define-public rust-blocking-1 ("rust-piper" ,rust-piper-0.2) ("rust-tracing" ,rust-tracing-0.1)) #:cargo-development-inputs - (("rust-futures-lite" ,rust-futures-lite-1)))) - (home-page "https://github.com/smol-rs/blocking") - (synopsis "Thread pool for isolating blocking I/O in async programs") - (description - "This package provides a thread pool for isolating blocking I/O in async -programs.") - (license (list license:asl2.0 license:expat)))) + (("rust-futures-lite" ,rust-futures-lite-1)))))) (define-public rust-blocking-0.6 (package -- 2.46.0