From patchwork Wed May 22 09:45:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 64815 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 2E06327BBE9; Wed, 22 May 2024 11:02:44 +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,TVD_SPACE_RATIO, 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 759FA27BBEA for ; Wed, 22 May 2024 11:02:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9ilx-0007AW-H3; Wed, 22 May 2024 06:00:38 -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 1s9ilL-0006Dy-4Y for guix-patches@gnu.org; Wed, 22 May 2024 06:00:01 -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 1s9ilK-0002c7-Sd for guix-patches@gnu.org; Wed, 22 May 2024 05:59:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9ilQ-0000ii-GV; Wed, 22 May 2024 06:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71110] [PATCH rust-team 27/37] gnu: Add rust-wasm-streams-0.4. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 10:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71110 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71110@debbugs.gnu.org Cc: Nicolas Goaziou , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71110-submit@debbugs.gnu.org id=B71110.17163719852694 (code B ref 71110); Wed, 22 May 2024 10:00:04 +0000 Received: (at 71110) by debbugs.gnu.org; 22 May 2024 09:59:45 +0000 Received: from localhost ([127.0.0.1]:54869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9il7-0000hO-C1 for submit@debbugs.gnu.org; Wed, 22 May 2024 05:59:45 -0400 Received: from msg-4.mailo.com ([213.182.54.15]:45528 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9il4-0000hI-Pr for 71110@debbugs.gnu.org; Wed, 22 May 2024 05:59:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1716371971; bh=UhezVqR6V71MLQxrYPavtyXliU1aBLJRKiwoF+JneQg=; h=X-EA-Auth:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding; b=otwNOTFHeSvQt+yN4RCKJAK0j0eNU9CoUzabjksLkjhHO0DKvXZOH0Wkn8AGlAN8B 6UIBNTcNY0GOWy/AgTGVgpmSmANGpXFIHUtGADzu/fGr5WRDrxrvzKHpC2S7sl4wVl 6Ei4NHX0gCR5HKHB3HU9pG4tafHr523BHda+9JMY= Received: by b221-4.in.mailobj.net [192.168.90.24] with ESMTP via ip-20.mailobj.net [213.182.54.20] Wed, 22 May 2024 11:59:31 +0200 (CEST) X-EA-Auth: mab6OUWieTVPKDzcysrGmYx1a+TdWago9eTcAxWjoWFOjeddzlSwGcPOe63hJvCtyd4ujkmBLzWmauJq+AZ4KFSv0G/P+81k5D9NZuNsnBg= Date: Wed, 22 May 2024 11:45:45 +0200 Message-ID: <421bffd1ff202eb1213562a562924d04dd5cccf1.1716370757.git.mail@nicolasgoaziou.fr> 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: Nicolas Goaziou X-ACL-Warn: , Nicolas Goaziou via Guix-patches X-Patchwork-Original-From: Nicolas Goaziou via Guix-patches via From: Nicolas Goaziou 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-wasm-streams-0.4): New variable. (rust-wasm-streams-0.3): Inherit from above. Change-Id: I9c3499ae8f7615b4544497d95b4a704e3385ac4f --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2ce9f1dd50..d629f45860 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -88163,8 +88163,39 @@ (define-public rust-wasm-encoder-0.38 "This package provides a low-level @code{WebAssembly} encoder.") (license license:asl2.0))) +(define-public rust-wasm-streams-0.4 + (package + (name "rust-wasm-streams") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-streams" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ad17c59xb8fffsnbrqbyqz93hb66nzxhizpii31icb31g4w8pdn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/MattiasBuelens/wasm-streams/") + (synopsis "Bridge between web streams and Rust streams using WebAssembly") + (description + "Bridging between web streams and Rust streams using WebAssembly.") + (license (list license:expat license:asl2.0)))) + (define-public rust-wasm-streams-0.3 (package + (inherit rust-wasm-streams-0.4) (name "rust-wasm-streams") (version "0.3.0") (source @@ -88174,7 +88205,6 @@ (define-public rust-wasm-streams-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-js-sys" ,rust-js-sys-0.3) @@ -88184,12 +88214,7 @@ (define-public rust-wasm-streams-0.3 #:cargo-development-inputs (("rust-pin-project" ,rust-pin-project-1) ("rust-tokio" ,rust-tokio-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/MattiasBuelens/wasm-streams/") - (synopsis "Bridge between web streams and Rust streams using WebAssembly") - (description - "Bridging between web streams and Rust streams using WebAssembly.") - (license (list license:expat license:asl2.0)))) + ("rust-web-sys" ,rust-web-sys-0.3)))))) (define-public rust-wasm-streams-0.2 (package