From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wGNpGBDxu2HsLwEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:08:16 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mM0rFBDxu2HvcQAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 02:08:16 +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 055A33576C for ; Fri, 17 Dec 2021 03:08:16 +0100 (CET) Received: from localhost ([::1]:56602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2fP-0007V8-5x for larch@yhetil.org; Thu, 16 Dec 2021 21:08:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2eF-0005ce-RE for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2eF-0008GM-HC for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2eF-0005HX-BU for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 34/45] gnu: Add node-debug. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:07:03 +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.163970679620178 (code B ref 51838); Fri, 17 Dec 2021 02:07:03 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:36 +0000 Received: from localhost ([127.0.0.1]:37393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dn-0005FH-OP for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:36 -0500 Received: from mail-qk1-f174.google.com ([209.85.222.174]:33607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dP-0005CV-3G for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:11 -0500 Received: by mail-qk1-f174.google.com with SMTP id de30so851458qkb.0 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:11 -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=NS25UhGn23l78aSUOP5a/YmTNgy3G5OXPqXupLyyRJ4=; b=L0NWlUTDDFSrajyldtgVqWU2DWw3+hLrBLThu6C6R/0pQd/rkkoouwZZqtmI18szyV Z+fDuAlGazj64/1fR0Qr+csUcLns7ZQoGBnmAiQQauz67O2pKkZuaHTLwWyqiCswzBm/ 7/6YRoAFfZWkfWDV/a4rcICQdezRGtaSvhiHD8fI0OmjLvK8u5V479UTeu+PM6Jrrez/ scEb9CqXNTyuKV3h7WKXA3jgxWy4m2Jj3R8BHjcMPVerZ7HH0ymf9/1EDMBdkObBnEwX ueVeK1Icfzuxb+kMJSGM+TPmeQJq8pHVHxWkbAl/568riPKEUooynBknMc1ZjDRGR/YD +QEg== 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=NS25UhGn23l78aSUOP5a/YmTNgy3G5OXPqXupLyyRJ4=; b=bCQa3QYGYvT5+k3ViqR1VfHHZYOB2ZajiyoMhAn0t/ef+7Z5oM7Wwe1pc8SAOL11KF 7OLI085v+PHRNBntbjSzmOd6kwJZuXyc8WYuRJZRFzRF0ossLTSSKbxSYCD/TZ72GAjZ iTGq1ypZ8LpPhp4v9dWrucBZvVkJN0hPgtSZdJEVeylIcShIBG7iZb3LxlzXWMtBm5cZ vHqN3Yhdb98mBLhlSqZQY3Z0/LHbuy3xh+GYb1Pg7aNy83DrZ5Ay6o713lHSSpDQmE67 hF6FNAx8/3dGSV/zd7AzRpl+5FPOsnPQOZyeWCt/o74DvssD0OOXcjc4bZVJSZPSeP1Z zNmg== X-Gm-Message-State: AOAM531Yv39VQNre0fPoAT5BjPuxFrn8e4Oea6fHRhTd9Yia1ko3xQtu i1QXx73f2IzoPv7qF/iMxdvKaYGEv4bpuE5R97I= X-Google-Smtp-Source: ABdhPJyQC8NZVHhhILixGLfzxJ4yb8cRv+w1qdwBnopYKUJBQXTbruW88qDhVqp9k3WLjMjmML1VRA== X-Received: by 2002:a05:620a:191b:: with SMTP id bj27mr567163qkb.118.1639706765717; Thu, 16 Dec 2021 18:06:05 -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 l22sm5401621qtj.68.2021.12.16.18.06.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:05 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:14 -0500 Message-Id: <20211217020325.520821-35-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-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=1639706896; 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=NS25UhGn23l78aSUOP5a/YmTNgy3G5OXPqXupLyyRJ4=; b=igVCluEn69IpO/5iy9Tr3odaamCBU2Z7tBR/aOaD00v/BWJDuQ6/RgSlI/wmcWV5AgfIb8 tps55pdCHOtcqnjDMz+9dLVcxt6jSUYrNtks0n2FR1CjLHDGZ9be3ilk0l16XiL5S1kjCk IMyG4C9yXAVBiZJX6X/ITqF6W5Gk58rf23r+KCeaUqYkAomc/uyAVcl62/FL1VCF7bCues CSwVQdsT66+wZt6HIvOq2Uy/8n112Jq6j3Oj609KOdT97BtrMrlPdaSIVOk+fbTgVJcHjg LqhD+A3G4i+5V52qpGFQG+N/RRKPuMlhskgF5IQ6aEpaB0BWMUWYMhszldrqgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706896; a=rsa-sha256; cv=none; b=aFL/deDXnhgedWIYR5mwscMq0DHu92GAPGB22nIAZbKJTw5xR5eEROA4xg2DDFGCf1/RwO 1eOGtxd5aRqxqk2vDAisnmY+LFAhJWSNSpP3x/gjV4Jh3wwbwnOxNX5pS5qANnEgoyJ6A8 xUPSMtXtL/UjnpryfERzxRt9u4/F3yuAWqTL5EYPZ6eTrvNu0DaRtFyykV4pxel+RZBA2g XD9Hcc3yuwC5PjHNDtMhscyQi21dNYm01zYi/mNzqVdOEuGU1kPnBXjx5tgdEC9M2sq+R6 JrVN9jzqEqHDNgfofM5J+xAg5dQroBVl0gFp+RgLYQQq5tdAqu0BF/WxQZ12Gg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=L0NWlUTD; 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.01 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=L0NWlUTD; 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: 055A33576C X-Spam-Score: 1.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: 72h2v38lGj0n * 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 3103124bed..8de98fe046 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -933,3 +933,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