From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OvXMOHitmHMTwEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:06:25 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WER9LOHitmEsXAAAbx9fmQ (envelope-from ) for ; Mon, 13 Dec 2021 06:06:25 +0000 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 2FD671F5C6 for ; Mon, 13 Dec 2021 07:06:25 +0100 (CET) Received: from localhost ([::1]:46048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweTg-0005c6-Au for larch@yhetil.org; Mon, 13 Dec 2021 01:06:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSR-0003em-D2 for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSQ-0007ZH-Ge for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSQ-0002dw-BX for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 34/45] gnu: Add node-debug. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05: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 , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163937549610018 (code B ref 51838); Mon, 13 Dec 2021 06:05:06 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:56 +0000 Received: from localhost ([127.0.0.1]:53799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSG-0002bP-3c for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:56 -0500 Received: from mail-ua1-f47.google.com ([209.85.222.47]:36541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweS3-0002a0-St for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:44 -0500 Received: by mail-ua1-f47.google.com with SMTP id r15so27350994uao.3 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:04:43 -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=e0AuYnxbhshMPYQONvciTF84/2mq59N4FQ8rklVmWuo=; b=e3aBSK2TuhFCOjXa/iLdcycy9YRKvVJOudgu0lLXBHdiF7vhqxrDtt55IhA6sGfZZt Cvatw0aNe1Nul6kuPsjLKVZXMCfIOKTHIFv7i77dCBnCGb66g3L9VXq/hizJ9Pg/RQm5 6wjVu6tcjYnV8aCeyuo5H0zWa7Z1f2jsqZfDJHZfca1I/DR9VxJAZERlNivPP0597hTz ZF7z9WLqvGWmYrQw49O92RSXn57+8KR+ysXGc7QKfcQjiYcgtewxzmfobWBzF407pEZo bSU8+ozLWXqEojzjE2hbudgYjzHPndxB1jDio+XN54lxVr1ZJIecNayF7/IXDNma+3jO ANGQ== 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=e0AuYnxbhshMPYQONvciTF84/2mq59N4FQ8rklVmWuo=; b=DWu4Ne1g96SuQzQNxJ+ji2cH9yq6XmNjgLwAVh3ItJ/VjxsUcld0EshfuvCh5Px4Oa mnUmg8q2MS1TDCClRUWKufArRQm97GjHmmRVPj4IlzeL4VFsJ2Y5WzFQJx0rBnZds5T8 Ele4nBNZirdiziR2nLSXsXL4YKZsNhYs7KVRqFk0qwyh5w01+XFk1mQM0LWkZSrB56fO nUKtm5llscEMw71/GUKM7JK6lVg+kfQCDlKyvsNLQqpdTBMBYgkPyo3uwW8n+umld5WA +OoNJN6pxbR3AGBA6CYaBtpaGLs+2bajX5zwJ/YIkmGrTwTM8jx6h+jAl9qmQ7w+EAzx +fvg== X-Gm-Message-State: AOAM530UOxB3c8ET0/AxMN9g/10macV1A42okizcGuiA3WNIzz6viHA0 Xr7tCb5MS+GkfkMIWLYbze/R0xDvUokErb1Hguk= X-Google-Smtp-Source: ABdhPJzEAEB1nzwpqMzg2KN//9t7GNY4ir4mNGAiw9/LOabrZchdCDTvmFgzSphlJBtNFH4blMAY4Q== X-Received: by 2002:a05:6102:2274:: with SMTP id v20mr26495380vsd.40.1639375478576; Sun, 12 Dec 2021 22:04:38 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id p46sm4012368uad.16.2021.12.12.22.04.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:38 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:56 -0500 Message-Id: <20211213060107.129223-35-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211213060107.129223-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> <20211213060107.129223-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639375585; 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=e0AuYnxbhshMPYQONvciTF84/2mq59N4FQ8rklVmWuo=; b=ZjokmfpiGkt4a8Eh/Po+WVyAt5WnhWUnbStghX2sLfxpnWgs814nFhOCEQ31EKXDLRsEj8 zCQ6ZczqvsPRel2iwyDjsvsSihAiGjn6ZQ1PcdMnVddjJGkrIx3v1xIa7uunpNK62B7tvS hrVcKD+/a868ceVyBNczzevHk/zsYo9ykOt8MSHTTxwFAfG0K7NCltJJIzj0memc0CCOmH XHMge7PIern028YP0Uq8ZK/pq0ZurMf2TYoC86d6oPyOfJiquQhvdDWHzx9BYe4p5iEb/2 7SSqqqrs7Phfq4ijpz/HRZiSQUASutECIyByB1HMZUztoSbUsO7JgPiKqapQ3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375585; a=rsa-sha256; cv=none; b=oqOUe53Giq9keKLdcVPcrKChVRz2K+lq/rIqdDP+aEmOzq/LTnrwnksqu/haLgK/K3fkSA pbfswaZIY4qg3Zm9ElvQpTko4yo0A0B1+tCVyfOnm+ubAs2ns++Gl/G++iPtA3nrvADarw 7qoWzbZXiZSTEa4VaWgCqmhBBKn0lE0FogRM1WD7anyApk7cqtbHpLzxBFgYA4T3YVEhxx js4E02r1tJqV5hkBRf+55ZP4tgfu74SNS7RYdCP3SfT1DCUAAWnEUXtFrURkW+eWTEQ9Kx 6qt7zooSNhRZS5QNpNZ9iZulPcX0TqHe08V8t0kz6K/C73FEqPpOKlEkTFrjCA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=e3aBSK2T; 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: 1.03 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=e3aBSK2T; 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: 2FD671F5C6 X-Spam-Score: 1.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: jOte+lgJOeQv * gnu/packages/node-xyz.scm (node-debug): New variable. --- gnu/packages/node-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 82ac537133..782c66e160 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -941,3 +941,45 @@ (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 + `(("node-ms" ,node-ms))) + (build-system node-build-system) + (arguments + `(#:absent-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