From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KEjYFkfxu2H8NgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:09:11 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qGyhEkfxu2ECWQAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 02:09:11 +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 7EF9A35771 for ; Fri, 17 Dec 2021 03:09:10 +0100 (CET) Received: from localhost ([::1]:59474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2gH-000133-Lh for larch@yhetil.org; Thu, 16 Dec 2021 21:09:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2dM-0004Lp-EF for guix-patches@gnu.org; Thu, 16 Dec 2021 21:06:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2dM-000819-4y for guix-patches@gnu.org; Thu, 16 Dec 2021 21:06:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2dL-0005D5-Vc for guix-patches@gnu.org; Thu, 16 Dec 2021 21:06:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 26/45] gnu: Add node-nan. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:06:07 +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.163970676019887 (code B ref 51838); Fri, 17 Dec 2021 02:06:07 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:00 +0000 Received: from localhost ([127.0.0.1]:37350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dD-0005AY-Uk for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:00 -0500 Received: from mail-qt1-f177.google.com ([209.85.160.177]:44819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2cs-00059G-LP for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:05:38 -0500 Received: by mail-qt1-f177.google.com with SMTP id a1so1169485qtx.11 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:05:38 -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=0Lh9qF80uvB9hxQKQrIXC7YsX0TKbp8jPgDqxgE80dM=; b=hDfUt8PpY7W17MD/roX2ciNc3QFZrdVc7OpS4MO+WbdwSyg1LAoHn1BkFtX2EgSqtE u1dCcG03YZYUHkmjQDysd11At5SW+fkG+fcHCZ5l5aTeK2CHyc3wG+tm1sNqOQJvVcsR +cil+SOMR5mUizfRwW4y8rGzmFW7zSXFVXijSL6uXaZuFdqkStZxfmSWC+SvQ42cMAS6 00mFndTJC0zGgw04JgBCCNHtTOZjoQ4LP7WNgzRsEHHoeGqo5hG1cS3oTE5V3qkvqQFT EcotTNDDyJ2Kx7uSkSKtmClTIlMQf9JVkC/EzZUnpvKXj5JpJ/1W+SYMKFKl0/UZNXpc ZyAg== 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=0Lh9qF80uvB9hxQKQrIXC7YsX0TKbp8jPgDqxgE80dM=; b=bBl+VFCovJGNYLivYk2RV9KlElSB0ldbLN872I+tt84CvMcQ9t0JsNcTZ/iOOri7Io /kx8hnQxTNdPPlxONuh0h1Fz7D4Suvi5J+s/aZmvOAQ7E7pFfNOfhRY5iVkE70Qul3lD tOLTiA0VCIaKRiZkjRjwcrvCn0SADYOA9W5d5kx/aalmbYJwiGCF+1lt9msE4mnTUTYw w3AmnVF3a9fDTVcSR9QiyDvwiLUnv9iGela0eKau6Ljd2cZYpmtZk+l5J3ipBerhmrzP HM5OwtB6lPZEeK+amJsEk9OPyqEJtBoP8fmECN8Mg+pm++Tb7m2jhF7AoIY6qly3Hxnn +EIA== X-Gm-Message-State: AOAM530g3zOvtmkQybJFHPymvzg4z4qVpUWiijaKzBvrlrH/W1KKiCFk LVCIbpSm0qyO0EpD/FW7ht5wXuNJrDLAKd2O0/8= X-Google-Smtp-Source: ABdhPJzKa5QSkt80V/t5c4MpK6JgrIqGcGJ6gMYo6J2WCbfHI/d/6NdilGE3QbSKR/f8/FHtw3nxnw== X-Received: by 2002:ac8:7f86:: with SMTP id z6mr731654qtj.162.1639706733271; Thu, 16 Dec 2021 18:05:33 -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 m9sm5218652qtn.73.2021.12.16.18.05.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:05:33 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:06 -0500 Message-Id: <20211217020325.520821-27-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=1639706950; 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=0Lh9qF80uvB9hxQKQrIXC7YsX0TKbp8jPgDqxgE80dM=; b=RyQ4NuY7N1gBYUWKSYRN2CgOttQ7Hbij6IITr7NPBhgHg6oZ8H6udooHRXmM2XT1/nclAH 2tpbDG/zsHf9G9hsCvTvMOEpGmSVJ2eOF8p7qFNOc8ko96oIVbJI7k9yGBIyRyHORZW4y/ MSY6eUfz4C3seewSxLH0jrh29g/AhAFCwep5+PC8AmrAn5teIaUWEuCuNUqqm4Lvt2+v9O 3ZGeIAd2znNkhwqPoNmiLinerdqr8SkrAp56IoOfrhI7mG7OzqcFkFjRrQwntN9duv593V Dvzh82fxzg6SCRdXAAG14UF11lMGd6YxqUMyzOzdk4/AanFgCfb/goMp8iNUqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706950; a=rsa-sha256; cv=none; b=CkbNARW83odoFGMVwgPIC26HRnK35pM2agrJ/4nteDGdE255C6lr/wO0MvPxgEE3f2SDd+ WJwdhia7MlRRvwK6LQweJNY7UMnbYnbNs/ezPrwvJ+W5Hm+t2BL4SpsHPiBLyBqzt/y3Cl G68CJmJFSR9or8kVwqVJeotOHge1oOgtzRpeS/3Uhp23+BYNraocipkN5P4Qwk9fth59rO tsOuYalyhje/2by4mwz0yvl+EhIfBSs/sNRtRyLCFJ/uIomujmZrgAbztR/cS7LJL1FVpR bQjd4csTc/2zQugyY11hdrYVLSDt4pYtq/j8C9r9r5hHaYs4V+M0D/1GZfToBg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=hDfUt8Pp; 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.01 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=hDfUt8Pp; 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: 7EF9A35771 X-Spam-Score: 0.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: +Py9WNKtTKgR * gnu/packages/node-xyz.scm (node-nan): New variable. --- gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 87694c7d00..d8ce7248f8 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -549,3 +549,42 @@ (define-public node-irc (description "@code{node-irc} is an IRC client library for Node.js. It has functions for joining, parting, talking, and many other IRC commands.") (license license:gpl3+))) + +(define-public node-nan + (package + (name "node-nan") + (version "2.15.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nodejs/nan") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18xslh9va5ld872scrp5y4251ax9s3c6qh0lnl1200lpzbsxy7yd")))) + (build-system node-build-system) + (arguments + `(#:absent-dependencies + '("bindings" + "commander" + "glob" + "request" + "node-gyp" ;; would be needed for tests + "tap" + "xtend") + ;; tests need tap and other dependencies + #:tests? #f)) + (inputs + (list node-readable-stream)) + (home-page "https://github.com/nodejs/nan") + (synopsis "Native Abstractions for Node.js") + (description "Native Abstractions for Node.js (``NaN'') provides a header +file filled with macro and utility goodness for making add-on development for +Node.js easier across versions. The goal of this project is to store all logic +necessary to develop native Node.js addons without having to inspect +@code{NODE_MODULE_VERSION} and get yourself into a macro-tangle. + +This project also contains some helper utilities that make addon development a +bit more pleasant.") + (license license:expat))) -- 2.32.0