From patchwork Thu Dec 30 07:44:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35819 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 EDAFA27BBEA; Thu, 30 Dec 2021 07:50:04 +0000 (GMT) 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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 B2C9C27BBE9 for ; Thu, 30 Dec 2021 07:50:04 +0000 (GMT) Received: from localhost ([::1]:36594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qCJ-0007Xg-Ro for patchwork@mira.cbaines.net; Thu, 30 Dec 2021 02:50:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qBO-0006Ie-1M for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qBN-0006LB-NK for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qBN-00075Y-Mk for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 21/41] gnu: Add node-readable-stream. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:49:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164085051427086 (code B ref 51838); Thu, 30 Dec 2021 07:49:05 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:48:34 +0000 Received: from localhost ([127.0.0.1]:51195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAs-00072h-6X for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:34 -0500 Received: from mail-ua1-f53.google.com ([209.85.222.53]:40662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q9S-0006tc-5A for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:47:06 -0500 Received: by mail-ua1-f53.google.com with SMTP id v12so29383961uar.7 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wsSmPOqCiUj/TB6PyaQCpYhFg48MasJ1OG87/HYhyBk=; b=gdfT9buy+7FSx9iO1BIwPxSX3V7dN5Z9EzOL5MmAuNPIQE2aJT8+MtO6SaaG6/QeQw hokHrEQGuRSMrH/G+Ly6Wb/wpuJB44PMCXJHqrvUmewrW+hQQ20W/Wv/yZTGA0KQbssn 44b4JBQN1rccCRxTpIcIq/SAERSrSvL4Mrx8+pi08ABkrCqessBhAdoR/GyUl6JvdeJE 4E+9rQ0Hp3ZZ+0RYZncdQg4Esp5az0Lx3Q5LiMb2wcJCObCI0TU6+p924Jbau6/NKsIp kFccbAMjV6eUkw0lo8pLTC/j5tSiC8AAlNyuyM/+YHPA6nNOZhdY6KG0Dla2rF35akXf nS5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wsSmPOqCiUj/TB6PyaQCpYhFg48MasJ1OG87/HYhyBk=; b=XTBwRuwxNpvxG9mXh20h9z0QmtrHv+4RR6yJPcG9h6p5ZFT/BKCmTKN75VcpO845Dn 0skQg0Nv50dXhNmaWeP+q0Vr6KPTkBp8i87Ld+TXhnyzM065CzSP44/27aP19YSXi7uV Ha9ZjREJ7/d7nlmsjC/gutBThhSi03iqMqNWxGr/vjiilIFkEysK4IT0OQ8Zy8jNQe+n WfgxKlZmjJue8PcihNeROfqVpfzaUjnxOPJ8cfPXISbECXf11Xxsd4yVJahkx66ztqpT rW4gAXp34ULh31CY9tpLJ6XbIow0Fv71ZWAldsUGWPg8XBTOOZs/AZzxHEsPfRQqGfnO xc3A== X-Gm-Message-State: AOAM533Q+34T/dwzIMiSkmINLTqHdwcFOfDRImGLp1CKtqtl3Bptpzyy V6KYGtO9pjUGgmwMXDOOy1eGlGNlpwbP9qDz X-Google-Smtp-Source: ABdhPJzzEd1znHJFsyGoiXIMKKHQGNYBtLnUnpRmvHVCJgJXAl4cy8CdO/sS/KD2JTC5IjZPYnsE6Q== X-Received: by 2002:a9f:326d:: with SMTP id y42mr8472899uad.119.1640850420717; Wed, 29 Dec 2021 23:47:00 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id 9sm3821644uau.6.2021.12.29.23.47.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:47:00 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:36 -0500 Message-Id: <20211230074456.33433-22-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230074456.33433-1-philip@philipmcgrath.com> References: <20211230073919.30327-1-philip@philipmcgrath.com> <20211230074456.33433-1-philip@philipmcgrath.com> 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-readable-stream): New variable. --- gnu/packages/node-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 5dbe2cf244..87694c7d00 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -442,6 +442,58 @@ (define-public node-string-decoder Node-core.") (license license:expat))) +(define-public node-readable-stream + (package + (name "node-readable-stream") + (version "3.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nodejs/readable-stream") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ybl4cdgsm9c5jq3xq8s01201jk8w0yakh63hlclsfbcdfqhd9ri")))) + (build-system node-build-system) + (arguments + `(#:absent-dependencies + `("@babel/cli" + "@babel/core" + "@babel/polyfill" + "@babel/preset-env" + "airtap" + "assert" + "bl" + "deep-strict-equal" + "events.once" + "glob" + "gunzip-maybe" + "hyperquest" + "lolex" + "nyc" + "pump" + "rimraf" + "tap" + "tape" + "tar-fs" + "util-promisify") + #:tests? #f)) + (inputs + (list node-util-deprecate node-string-decoder node-inherits)) + (home-page + "https://github.com/nodejs/readable-stream") + (synopsis + "Node.js core streams for userland") + (description + "This package is a mirror of the streams implementations in Node.js. + +If you want to guarantee a stable streams base, regardless of what version of +Node you (or the users of your libraries) are using, use +@code{readable-stream} only and avoid the @code{stream} module in Node-core.") + (license license:expat))) + (define-public node-irc-colors (package (name "node-irc-colors")