From patchwork Mon Feb 5 23:19:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 59825 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 E830127BBEE; Mon, 5 Feb 2024 23:22:23 +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=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 74BAD27BBEA for ; Mon, 5 Feb 2024 23:22:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX8Gz-0006cL-7y; Mon, 05 Feb 2024 18:21:09 -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 1rX8Gx-0006Yr-Jj for guix-patches@gnu.org; Mon, 05 Feb 2024 18:21:07 -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 1rX8Gx-0001vC-BM for guix-patches@gnu.org; Mon, 05 Feb 2024 18:21:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rX8HA-000437-3y for guix-patches@gnu.org; Mon, 05 Feb 2024 18:21:20 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH 37/44] gnu: Add node-which-boxed-primitive. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Feb 2024 23:21:20 +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.170717526515232 (code B ref 68941); Mon, 05 Feb 2024 23:21:20 +0000 Received: (at 68941) by debbugs.gnu.org; 5 Feb 2024 23:21:05 +0000 Received: from localhost ([127.0.0.1]:52722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Gu-0003xO-QC for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:21:05 -0500 Received: from 3.mo575.mail-out.ovh.net ([46.105.58.60]:35633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8Gq-0003w2-TD for 68941@debbugs.gnu.org; Mon, 05 Feb 2024 18:21:02 -0500 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.28]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id EACBC272EC for <68941@debbugs.gnu.org>; Mon, 5 Feb 2024 23:20:46 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rvcdx (unknown [10.108.42.201]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 827FD1FE84; Mon, 5 Feb 2024 23:20:46 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-rvcdx with ESMTPSA id yKaRFE5twWX47wIAiCm9fg (envelope-from ); Mon, 05 Feb 2024 23:20:46 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G0014314ed89-3489-45d3-a7ec-d12e08e7b5c6, 9F372080060396D88D3FD19D164346DC319AC2A4) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 87.88.184.255 Date: Tue, 6 Feb 2024 00:19:25 +0100 Message-ID: <20240205231952.26410-37-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240205231952.26410-1-ngraves@ngraves.fr> References: <20240205231952.26410-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 7876232800404169442 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvvddguddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeejrdekkedrudekgedrvdehhedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeikeelgeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth 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-which-boxed-primitive): New variable. --- gnu/packages/node-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 5a85e70e45..15eec6c509 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -2574,6 +2574,47 @@ (define-public node-util-deprecate function with browser support.") (license license:expat))) +(define-public node-which-boxed-primitive + (package + (name "node-which-boxed-primitive") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inspect-js/which-boxed-primitive") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10gns1ljcq87bp1rgd0h21hzl8advyadwxd87f48l4fr0clz9y0z")))) + (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" + "has-symbols" + "in-publish" + "npmignore" + "nyc" + "object-inspect" + "safe-publish-latest" + "tape"))))) + #:tests? #f)) ; FIXME tests depend on node-tape. + (inputs + (list node-is-symbol node-is-bigint node-is-boolean-object + node-is-number-object node-is-string)) + (home-page "https://github.com/inspect-js/which-boxed-primitive") + (synopsis "Javascript function to determine which boxed primitive it is") + (description "This package provides a Javascript function to determine +which kind of boxed primitive the value given is.") + (license license:expat))) + (define-public node-which-typed-array (package (name "node-which-typed-array")