From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mMksDQtS2WGaUAAAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 09:57:47 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6KPTCQtS2WF+KgAAauVa8A (envelope-from ) for ; Sat, 08 Jan 2022 09:57:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id CB31E331CC for ; Sat, 8 Jan 2022 09:57:46 +0100 (CET) Received: from localhost ([::1]:36980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67Xm-0005HD-1N for larch@yhetil.org; Sat, 08 Jan 2022 03:57:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n67MV-0003rK-9z for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n67MU-0004dU-W8 for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n67MU-0000wF-V8 for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v9 30/41] gnu: Add node-debug. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jan 2022 08:46:06 +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 , Philip McGrath , Pierre Langlois , Liliana Marie Prikler , Leo Famulari , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16416315553468 (code B ref 51838); Sat, 08 Jan 2022 08:46:06 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Jan 2022 08:45:55 +0000 Received: from localhost ([127.0.0.1]:46391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67MJ-0000ts-5L for submit@debbugs.gnu.org; Sat, 08 Jan 2022 03:45:55 -0500 Received: from mail-qk1-f182.google.com ([209.85.222.182]:38498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67MH-0000tQ-Kx for 51838@debbugs.gnu.org; Sat, 08 Jan 2022 03:45:53 -0500 Received: by mail-qk1-f182.google.com with SMTP id i187so8511008qkf.5 for <51838@debbugs.gnu.org>; Sat, 08 Jan 2022 00:45:53 -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=yNH/K8Nj1WRroo2A9Ey8tzlsaN+RPVkeegYNZwPWS1w=; b=EtVl4FbYci7k3ELccFF2gGDCTcfYA6lf3vgAjxhmzZtsMF0i8epRTDl3bs0c1RYOOE KwsB+FCQF2bsAqDixU9xeWcwaZ9KZKZdmC8QUGdhmFuTuUgz3247s39wXD0evWidXXHZ 3n7hz/0r3SmLMLi+pIZWpYFhuhyEDGM6wgU/Sly0AQ8L2HGAH3nJASv1Uzd5BFHEpMyS ku8LQwI3K0/uQ8JdSRPOnZJ1pzxTLRdq7/1CsQdtmMEqzK31kGhJxLLsa0CJNJrKOfaA SJRxIrNG2u14cU7Tr5EOWCRFbK69GK6M09/H8GmahbUKCBM64pgkyQhgnapawQafoyaX e3aA== 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=yNH/K8Nj1WRroo2A9Ey8tzlsaN+RPVkeegYNZwPWS1w=; b=bhmkOQiMTnE0uPWYCC5Tqde82ca9t72OAsJovqOuV1FGF6BkXykIQNfJW0BfuNf/dR ltj2EK/gCiRiSOfQwizrlEeLvqsysg71f4kxOawQg5JSftBT1RZSimtPhoAF/TJMNdBX ZqTsCkotQLe3+mbUf20UnA8R08zw7jquqg4l0yea8TirXBotWqK+MLTaZEmlPoSfNaZX MLr3/6+c6OcfhYSk/SXZCoR+zoRNRyJsscEMGDq61X6PzUZex/xYlznj+t9aCCtpVDHD gW0BnZPpnYk48rfSrKi+Jzfa1BmTAxXdM+v6k0wVDXnqcF8yN7EJgACdoMhQguiBQoI0 XPFQ== X-Gm-Message-State: AOAM532ibbuTTPpbkAX5ZqG2XUktLjNC3zfnq5BUp0ZUFqV05ifsdj/L /i2k8ny5AO0Twzf337aiOXmfPxmlGVRkPb+a X-Google-Smtp-Source: ABdhPJy/bzhzWyjpVIf6jL3Oz1CxxS8VLkdI9PwaViX/2P5tt9rdChyXKrRetWBOZLQ6aAkAu/eBhA== X-Received: by 2002:a05:620a:4449:: with SMTP id w9mr980334qkp.617.1641631548129; Sat, 08 Jan 2022 00:45:48 -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 d17sm703695qtb.71.2022.01.08.00.45.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 00:45:48 -0800 (PST) From: Philip McGrath Date: Sat, 8 Jan 2022 03:42:18 -0500 Message-Id: <20220108084229.362642-31-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220108084229.362642-1-philip@philipmcgrath.com> References: <64e08d3a1838ed8507f33fae895545372960522f.camel@gmail.com> <7b04af28bbd57c67093ce8f33a648efec89693bd.camel@gmail.com> <441bfeb0-eb6e-81f6-488b-cdf1b09a78ef@philipmcgrath.com> <20220108084229.362642-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641632266; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yNH/K8Nj1WRroo2A9Ey8tzlsaN+RPVkeegYNZwPWS1w=; b=e5aO/pdVo8bMSdm3pX6XdYIyk/4AUI38KpahkZ2HCKsWwA8DQTXsQUq8YRq7Nr81FzC45Q daMv+eNAcJNkVsBfjqDGA4ymfvIdzRqVzuVprfeQ/pZoPqpE9p0acUF4Xyh6ljbdvSHybX eDucSsvMwtbDnOZ68fMS06VNvGBvZrYHau5n2vJ35yv194UyhNXSk1NygO3JTrG9iJPLrR VCkW0epwcM2843p+HLBr3fRD4wcis3zw7mdZMswwteh4V+bWpOjpi/entp7oiXJFMqmZB3 Rr9USkHfOpqNCt71ogHJYWKClZaNx3gEK5qsg/tIllZyfcYaRuWIHs3gHEyolQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641632266; a=rsa-sha256; cv=none; b=ahbOcY9bWraaeDnWg1PonWUXsSHtARfG2GecnVLq0eTg/MAmKvhsJ6AU4l7vtViUiU4BTl corFn0L59ubnCKTnx+rcNUvL0KPZh8t7mJZJvilCh8tjD7oe4/UvUap5BZhLQJcdbb5LCp m2ozKaAXqa78tEQnCNfWL4xZ9bKJFlTVh0Zi4TusLTp36Dw8Dk1NUqKf40/XFUpagqZOE6 h8kIDVH93nrxBPppHSoMwq6i0qC8RYqCF5iHwIyT4D4JBACvEKYhZypx/eh4yoMKcKH1dj oeZLe+2sEiapCpkNoxW7m2ZPXZLuJR+d1nzXHvdm964ZB83w4+xYsylKNFLdmw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=EtVl4FbY; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.90 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=EtVl4FbY; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CB31E331CC X-Spam-Score: 0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: ij71+BqNsa75 * gnu/packages/node-xyz.scm (node-debug): New variable. --- gnu/packages/node-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 6142254c35..3be2b93b31 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -985,3 +985,48 @@ (define-public node-ms equivalent milliseconds is returned. @end itemize") (license license:expat))) + +(define-public node-debug + (package + (name "node-debug") + (version "4.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/debug-js/debug") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ji0dmdl2xkgxqxvd6xjy7k3mmknmhvqjgc40vyly9ka1mpf20vb")))) + (inputs + (list node-ms)) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies `("brfs" + "browserify" + "coveralls" + "istanbul" + "karma" + "karma-browserify" + "karma-chrome-launcher" + "karma-mocha" + "mocha" + "mocha-lcov-reporter" + "xo" + "supports-color"))))) + #:tests? #f)) + (home-page "https://github.com/debug-js/debug") + (synopsis "Lightweight debugging utility for Node.js and the browser") + (description "A tiny JavaScript debugging utility modelled after Node.js +core's debugging technique. orks in Node.js and web browsers. + +The @code{debug} module exposes a function; simply pass this function the name +of your module, and it will return a decorated version of @code{console.error} +for you to pass debug statements to. This will allow you to toggle the debug +output for different parts of your module as well as the module as a whole.") + (license license:expat))) -- 2.32.0