From patchwork Mon Dec 13 06:00:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35183 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 23C5427BBEA; Mon, 13 Dec 2021 06:06:56 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED 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 DB91227BBE9 for ; Mon, 13 Dec 2021 06:06:55 +0000 (GMT) Received: from localhost ([::1]:46048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweUA-0005c6-QR for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:06:54 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))