From patchwork Thu Feb 8 00:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 59894 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 2CDD627BBEA; Thu, 8 Feb 2024 00:27:11 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS 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 F045627BBE2 for ; Thu, 8 Feb 2024 00:27:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsFl-0001Xr-1f; Wed, 07 Feb 2024 19:26:57 -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 1rXsFe-0001Rg-50 for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:50 -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 1rXsFd-00011U-SX for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXsFr-0007E2-TH for guix-patches@gnu.org; Wed, 07 Feb 2024 19:27:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH v2 14/44] gnu: Add node-call-bind. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 00:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68941@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 68941-submit@debbugs.gnu.org id=B68941.170735197327293 (code B ref 68941); Thu, 08 Feb 2024 00:27:03 +0000 Received: (at 68941) by debbugs.gnu.org; 8 Feb 2024 00:26:13 +0000 Received: from localhost ([127.0.0.1]:58372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsF2-00075z-9f for submit@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:12 -0500 Received: from 16.mo583.mail-out.ovh.net ([87.98.174.144]:52669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsEx-00074n-0K for 68941@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:07 -0500 Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.176.202]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id D1B0124E8E for <68941@debbugs.gnu.org>; Thu, 8 Feb 2024 00:25:51 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-lrcqk (unknown [10.110.113.210]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AA77D1FE6C; Thu, 8 Feb 2024 00:25:51 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-lrcqk with ESMTPSA id 8Ih9KI8fxGVDdQIAKxwKdA (envelope-from ); Thu, 08 Feb 2024 00:25:51 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0024bc42fbc-1c92-4363-9eea-f9dc419d3f78, 1F816C6F1D534EC93874C2C90F666022E64E63F2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Thu, 8 Feb 2024 01:24:37 +0100 Message-ID: <20240208002527.27165-14-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240208002527.27165-1-ngraves@ngraves.fr> References: <20240208002527.27165-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2274036339134161634 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddvvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieekleegudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht 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 Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/node-xyz.scm (node-call-bind): New variable. --- gnu/packages/node-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index abfebfbae4..17b9b01cbf 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -283,6 +283,42 @@ (define-public node-buffer-crc32 and fancy character sets, signed or unsigned data and has tests, for Node.") (license license:expat))) +(define-public node-call-bind + (package + (name "node-call-bind") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ljharb/call-bind") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gqv3bisi64jzfgacwsx1rbd60bkadvpbsv66xgcn6r518qjdjix")))) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies + '("@ljharb/eslint-config" + "aud" + "auto-changelog" + "eslint" + "nyc" + "safe-publish-latest" + "tape"))))) + #:tests? #f)) ; FIXME tests depend on node-tape. + (inputs + (list node-function-bind node-get-intrinsic)) + (home-page "https://github.com/ljharb/call-bind") + (synopsis "Implementation of Javascript .call.bind") + (description "This package provides a robust implementation of the +.call.bind() in Javascript.") + (license license:expat))) + (define-public node-color-name (package (name "node-color-name")