From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mFMEEARvzWGjCAEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:34:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UKldDQRvzWGMUwEA9RJhRA (envelope-from ) for ; Thu, 30 Dec 2021 09:34:12 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 0DFEBD28C for ; Thu, 30 Dec 2021 09:34:12 +0100 (CET) Received: from localhost ([::1]:38938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qER-0000wm-NU for larch@yhetil.org; Thu, 30 Dec 2021 02:52:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qEG-0000uH-Cr for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qEG-0007Co-3g for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qEG-0007Ek-3B for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 30/41] gnu: Add node-debug. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:52:04 +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.164085068627655 (code B ref 51838); Thu, 30 Dec 2021 07:52:04 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:51:26 +0000 Received: from localhost ([127.0.0.1]:51248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDd-0007Bt-Jw for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:51:25 -0500 Received: from mail-vk1-f176.google.com ([209.85.221.176]:47011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qA8-0006xM-Bb for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:47:48 -0500 Received: by mail-vk1-f176.google.com with SMTP id u198so13285214vkb.13 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:47:48 -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=nbqyogir1n7NW/kAY1VSzDiV7H/kR2UncqwKNKmqGTY=; b=Ugm07Iw2buuI0doE3P5wBF4ZgvTUaR2pMYXBSi+pl/c1SQpt9QuXBiR/AtzLOU010W WFg5tVKn3mTSzTaEd9K8U1G0KSVPlOTmXLWmJAKwJHC7KA4v0HHoJEdBe7Ru5KBvUTp1 QIeSmOirON6wCvJfqzZxF9k62ceHVxth/OlmBLN632agrJbYOWfPu4WPFIe7P7JiQWAb BlNTQYCWp8E/GtJMLKasYL7nNOaWQIFaX+s+p33z0FRmSqXmBtWlMD3UyxkvsJl8/6i7 clWlBXmxCTEFBouO+GQ8acCcH88Ors7vW//lteEVH6sdsGBsM2/HmMnQj8/VLvSYSSMq bDag== 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=nbqyogir1n7NW/kAY1VSzDiV7H/kR2UncqwKNKmqGTY=; b=IjNaaIDuwa8UmP+Q7nov5hskrnebC60f16e6nw9KWtSkdNr92HOLuD+oebE4lCfF9q vxMK09NscZh/BL71GhPwlbiL8duOOxXEkajH7u/IKlICmseLLpHAX+qCgw4Vb8MSNO8m 6iCrpK18b0fGSOTi0OXQDKaN9o7Ir76tTrTYHzFdi3oWPJWfNEt7y5JFeNBCu5g2PhN3 3f2MIng3F0IaFxPFnG+kaFaFoOES8vU9PwdCttJ4tj4Y8mUY96kEyIh5AfcHN6W1PPWz OUQ1ayqfEaO9UYJVi5T0dUQJM3z/AkpPkj5CGgHS+g0x6jwNBxhhnJCajZUzac1KRbSR Rv5g== X-Gm-Message-State: AOAM530weu6er/zYoDV/4QIl96cZM1Z+0hox3ulHm//ny8Jy8NuNV3Hx I+Es69Y3pxODfHs041L0JLjtdp9kBLYOpPZz X-Google-Smtp-Source: ABdhPJwnFvMKPhz9jBHPis7he0ne7+zTm6N4x+6qKMQH0JKAeUH09Y8usDhtAwDY4FwAK/0+YtbmVw== X-Received: by 2002:a1f:130a:: with SMTP id 10mr1827629vkt.28.1640850462813; Wed, 29 Dec 2021 23:47:42 -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 p8sm4810806vsh.21.2021.12.29.23.47.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:47:42 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:45 -0500 Message-Id: <20211230074456.33433-31-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230074456.33433-1-philip@philipmcgrath.com> References: <20211230073919.30327-1-philip@philipmcgrath.com> <20211230074456.33433-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=1640853252; 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=nbqyogir1n7NW/kAY1VSzDiV7H/kR2UncqwKNKmqGTY=; b=ESidFWeCYriDquGlwwMuvbdkTmKDt44kD/EOGgQqT3/pzazEUIJwLXnqdvwsy8nTtxmd98 hbrtPT99EHq2ByjjPfp5hdyATizsHb41+h0P8Xa69tA85TF7kf7ErSOONaPSDWU5VRvYcq N1UBlKOt5/zF0iulAU/A9KyQPHHiAEoD4XhefXo+pgP4QhB83wlbkrW+WS3cu2MwBtn3PP Kz2FDbbn/4jDYHDyUXTdQ7SO58alv5/AgOJYRq+RMkbxB2d+M7ygznk15rVkn0hCv9a4hf A+6Ms4mS8pC1MNZIjvn+TcGNYNlXIU5LcaXUzelVBvFa/1w9+9vSos/HAtJ75Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853252; a=rsa-sha256; cv=none; b=jHTOSIUC5OzkUoc2BBLH8MscVP0nlrUTylondEXtBxQMiTV6MjLoXbxOsswWekDfe9HFCO UZciIbST2h8XAQqrBvCG+t+ae7jCRrtoDzsTRfb3Zu8VXerDWroklU/F+VIlD7xeb0L1pY j7TJQiCR8t+KqRbqSqvxArQpsLV4IMdzjSC97viwk6kqE0K3DLKGiC0URwEiaHPPc/i3tU VaPe8P0OjMNINtN5Ie4Jt2/mwwlEwoBw2IwDaXWwJBOhojrJ1YzX2t9urr264lTl0xmUl/ EtB3KPfY+dHKtTXCewbEHTzVc7qM8lWSwg6ZFn7u0BIbvfF7DxqYJ/VBxCbe/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=Ugm07Iw2; dmarc=none; spf=pass (aspmx1.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.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=Ugm07Iw2; dmarc=none; spf=pass (aspmx1.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: 0DFEBD28C X-Spam-Score: 0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0OccTGBBfiBx * 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 6415fb92f5..c07822f65b 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -951,3 +951,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 + (list 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