From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 yAruEXdvzWFHDwEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:36:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MJO5CndvzWE5eQAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 09:36:07 +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 C459BD395 for ; Thu, 30 Dec 2021 09:36:06 +0100 (CET) Received: from localhost ([::1]:36514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qCJ-0007UN-Bl for larch@yhetil.org; Thu, 30 Dec 2021 02:50:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qBP-0006JB-Gt for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qBP-0006Lx-7W for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qBP-000761-75 for guix-patches@gnu.org; Thu, 30 Dec 2021 02:49:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 22/41] gnu: Add node-nan. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:49: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.164085051627121 (code B ref 51838); Thu, 30 Dec 2021 07:49:07 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:48:36 +0000 Received: from localhost ([127.0.0.1]:51204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qAt-00073H-Rl for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:48:36 -0500 Received: from mail-ua1-f51.google.com ([209.85.222.51]:37573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q9W-0006um-DW for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:47:10 -0500 Received: by mail-ua1-f51.google.com with SMTP id o1so41252877uap.4 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:47:10 -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=NISMPnVzc/xQb3GSE8bLaMlLfscTsfcnTlpyB4MFAKrqEPiStnUGFJbWXfboxoyVEk PfBM6pzFWR4MVnsHc6n+pCYy37+UiVBNkB2Fz8iDMLH/6L6gPuGryR04wBdYAidQ/kn3 u/lGGgSc0H2SheTR37jF+DqI0d5ioHubj01Fq5Mypv2roizB2M0KncgSNv2KPNrJ4/o3 pD05LIElAILBthKb3yxhp0IMC9WjkDlGFnLuzxzPFeV2TyeNqk6cCPD62mdoo6QWdVBY GXGdCJwRJ7n0EoyVwHzssbK1pwM/wVBTQyqMq94eveHFeRtCrx0SsTvGPDQpnE2SONVh XdSg== 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=tqmOqDu9YB4XuO3h74STEipQWusegZovQVvlSir1Jecawh+Aysg7v8q06hjwTTyKHa fXCuzUALfmxci1b2oVnpLVC05mYs568cV9ICMvLC5918a1nQ9qtbPyMbyJgW1FJC8gcM LK+l1PNjqe4TGN+OHPaGbeL0CA3CWawgUbRSlHMSkt3BncR3jqRUkUyTt+awTknBhuV2 EhYiZv0EMfo4ETH/Jw/3EuIImlXFk3ztF11dTR806mKv+nfLfuxWMUpa1jZQMycXvAER WIwMs3MFkmZ4Vkw2Ag+it4RJ9GlaQ4kVVk5QXboWWVqb+PwZojd3cYpyARtoex9rbQJx 0qoQ== X-Gm-Message-State: AOAM532fo+eG40AnEvU7IzR+4qEKTy+X1seMI6+SIfNVAWgO15qmXt36 oajo2t9BIaNBU13Se51FGyR7Ti25/KscovDn X-Google-Smtp-Source: ABdhPJyntgH+Cd0tWvOU4VaeitWEJ4pw+kXwxlwDSkmIpxEcBERt5mqYW+FvchW672QYJkkxgt8bAQ== X-Received: by 2002:a67:fb42:: with SMTP id e2mr8769393vsr.56.1640850424888; Wed, 29 Dec 2021 23:47:04 -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 n2sm4679809vkl.23.2021.12.29.23.47.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:47:04 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:37 -0500 Message-Id: <20211230074456.33433-23-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=1640853366; 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=iU3XrXhJY2TLFFxBieV6VdfF1VKGcD+p9UagAM3hI8FezLo+eGNI09EjCdKBFlF0Au+CZu pQvuXOJ0cTt+zzs4TTdqoujnxoGMEYTLJffshgxejcf7NCgQidx6hED2l3QqzY2mXOM9Er 575o2ZdYvf0MJF7XtNGnobxx7T5BWZSbnzu28cMc5u/uE4wK9JrFIRY9K+DD2d8oR5lGR4 /JpLQCkhAbKQYLGmMRTYwN5scoj+cF6+ZhIJYsIBqRj/NcknIDbln6wO+XKEQdDHP1XVQf NxR8DxUUCaPS8f7GiuSGN2bWzCQmJXA3qsOoFqqw3QxpFfGz1ldJM+yLiP4SmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853366; a=rsa-sha256; cv=none; b=GQDvbiP1epRSNHlMnvtm/sbRkb7a+Wuzj3OI6g+Myx7Ke/3ya6POS3Y3Ltrnz23VNFZ241 x1RQKQQxl2FkvEpXbz5plINIwIZsQq7cryMnnFfwtU72Hf0d9yvgO/voAva0b+sDSlEkbx XUF8OQVVhJiPJeaaZiSya/VU++dTudib/pEK0PiiUjUpZNnaW6UcPdOHn5zqF8pWEqyS0Q qGrejcRPld5w8frAzEUru2++sxLvvSWVRN8+TbR4RFfdKQZNOS13OlLncmHEiaeAPiXIgM bBLl28Zazqq0m1ueNe87X9IZ0V0Ri15uCFUXTvPNyREKspPCdZSbms+sy4ZoQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=NISMPnVz; 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=NISMPnVz; 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: C459BD395 X-Spam-Score: 0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: kYOyO6URA9FP * 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