From patchwork Thu Feb 8 00:24:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 59905 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 61B8427BBEB; Thu, 8 Feb 2024 00:27:40 +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 25D0327BBEA for ; Thu, 8 Feb 2024 00:27:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsFn-0001an-MO; Wed, 07 Feb 2024 19:26:59 -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-0001Rh-IT 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 1rXsFe-00011j-A1 for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXsFs-0007E9-Ap for guix-patches@gnu.org; Wed, 07 Feb 2024 19:27:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH v2 15/44] gnu: Add node-object-inspect. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 00:27:04 +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.170735197527321 (code B ref 68941); Thu, 08 Feb 2024 00:27:04 +0000 Received: (at 68941) by debbugs.gnu.org; 8 Feb 2024 00:26:15 +0000 Received: from localhost ([127.0.0.1]:58378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsF4-00076Z-QS for submit@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:15 -0500 Received: from 19.mo584.mail-out.ovh.net ([87.98.179.66]:45697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsF0-00075m-7p for 68941@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:11 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.2.160]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id D80DD28868 for <68941@debbugs.gnu.org>; Thu, 8 Feb 2024 00:25:54 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tmp8b (unknown [10.108.54.28]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9AD861FD80; Thu, 8 Feb 2024 00:25:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-tmp8b with ESMTPSA id ajvtHZIfxGVCVAIA09Zaew (envelope-from ); Thu, 08 Feb 2024 00:25:54 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R0048de2d98a-716f-4bc3-98d6-da0c29001931, 1F816C6F1D534EC93874C2C90F666022E64E63F2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Thu, 8 Feb 2024 01:24:38 +0100 Message-ID: <20240208002527.27165-15-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: 2274880763485676258 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeikeelgeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth 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-object-inspect): New variable. --- gnu/packages/node-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 17b9b01cbf..8b2e0310a7 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1081,6 +1081,53 @@ (define-public node-normalize-path slashes, unless disabled.") (license license:expat))) +(define-public node-object-inspect + (package + (name "node-object-inspect") + (version "1.12.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inspect-js/object-inspect") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16bki8gvgglxldj2gw38wlyihzkbjsf6wyxaids79x9215dl07iq")))) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies + '("@ljharb/eslint-config" + "@pkgjs/support" + "aud" + "auto-changelog" + "core-js" + "error-cause" + "es-value-fixtures" + "eslint" + "for-each" + "functions-have-names" + "has-tostringtag" + "in-publish" + "jackspeak" + "make-arrow-function" + "mock-property" + "npmignore" + "nyc" + "safe-publish-latest" + "string.prototype.repeat" + "tape"))))) + #:tests? #f)) ; FIXME tests depend on node-tape. + (home-page "https://github.com/inspect-js/object-inspect") + (synopsis "String representation of objects in Javascript") + (description "This package provides a Javascript function to inspect +string representations of objects in Javascript.") + (license license:expat))) + (define-public node-once (package (name "node-once")