From patchwork Mon May 20 08:59:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64715 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 203A527BBEA; Mon, 20 May 2024 10:04:22 +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 BBD8027BBE2 for ; Mon, 20 May 2024 10:04:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yvj-00034s-Ju; Mon, 20 May 2024 05:03:39 -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 1s8yvA-0001vi-Bz for guix-patches@gnu.org; Mon, 20 May 2024 05:03:04 -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 1s8yv9-0007HW-K1 for guix-patches@gnu.org; Mon, 20 May 2024 05:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8yvE-0007TF-30; Mon, 20 May 2024 05:03:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 56/81] gnu: Add rust-wasm-streams-0.4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:03:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619574528427 (code B ref 71076); Mon, 20 May 2024 09:03:08 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:02:25 +0000 Received: from localhost ([127.0.0.1]:41356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8yuX-0007OL-Ft for submit@debbugs.gnu.org; Mon, 20 May 2024 05:02:25 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43493 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysb-00072t-TQ for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195615; 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=kn2nx8TsMre2UE2Sg8oMfGXPCubXqgoiAVq54W8cUMU=; b=FepZ09vQN9ZqL2vM9NA18XGkemDNufUfBwzW/ue16X/Li5HIDHPyoz6FGtaKppP5KuERZ7 vfEMkyXBy3zWvauHcLSLemfgn4ZGiIKos8aRF737Uac3HlJbFKVHV1JH3WDhiYwoa8HVqQ vimPdvYJs0W0r8KiLjHTpzx2Hi2upayFeTLEgdDjkZ76jIuNsqim235pusIOBnt1IjPnTS FCZAooIfOlV3dMrvG0iBG9PXwUGu8Ecc/uRDmtxopRElp2w7K1BA5SGCNXOMzbE9FtW8+r 9bd5nd1x5+jQ9jL5p1AuBnsHlVuB2YBA0TUzAa8c8/uZl7BsBuBoaYKL7JfEzw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 63bc3663 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:15 +0000 (UTC) Date: Mon, 20 May 2024 10:59:01 +0200 Message-ID: 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-wasm-streams-0.4): Add variable. (rust-wasm-streams-0.3): Inherit from rust-wasm-streams-0.4. Change-Id: I0bd465d7cd93fa26227d31a6395d9ef905da26d3 --- gnu/packages/crates-io.scm | 50 +++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index af3d248094..e2d85674d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91957,8 +91957,40 @@ (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 + (list + #:cargo-inputs (list rust-futures-util-0.3 + rust-js-sys-0.3 + rust-wasm-bindgen-0.2 + rust-wasm-bindgen-futures-0.4 + rust-web-sys-0.3) + #:cargo-development-inputs (list rust-pin-project-1 + rust-tokio-1 + rust-wasm-bindgen-test-0.3 + rust-web-sys-0.3))) + (home-page "https://github.com/MattiasBuelens/wasm-streams/") + (synopsis "Bridge web and Rust streams with Wasm") + (description + "This package provides 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 @@ -91968,22 +92000,18 @@ (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) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("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)))) + #: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)))))) (define-public rust-wasm-streams-0.2 (package