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 iJiHDAU/12EObQAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 20:12:05 +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 4PhnBQU/12EqigAAG6o9tA (envelope-from ) for ; Thu, 06 Jan 2022 20:12:05 +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 7579B2AFED for ; Thu, 6 Jan 2022 20:12:04 +0100 (CET) Received: from localhost ([::1]:47300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5XVB-0002un-SS for larch@yhetil.org; Thu, 06 Jan 2022 13:28:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5XSm-0007Tt-KG for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5XSj-00013S-L8 for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5XSj-00056x-HM for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v8 22/41] gnu: Add node-nan. References: <20211114124151.36743-1-philip@philipmcgrath.com> In-Reply-To: <20211114124151.36743-1-philip@philipmcgrath.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 18:26:09 +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: Philip McGrath Cc: 51838@debbugs.gnu.org, Timothy Sample , Pierre Langlois , Jelle Licht , Leo Famulari Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164149351619277 (code B ref 51838); Thu, 06 Jan 2022 18:26:09 +0000 Received: (at 51838) by debbugs.gnu.org; 6 Jan 2022 18:25:16 +0000 Received: from localhost ([127.0.0.1]:42235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRs-00050l-2e for submit@debbugs.gnu.org; Thu, 06 Jan 2022 13:25:16 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRH-0004ts-O4 for 51838@debbugs.gnu.org; Thu, 06 Jan 2022 13:24:40 -0500 Received: by mail-wr1-f67.google.com with SMTP id w20so6471321wra.9 for <51838@debbugs.gnu.org>; Thu, 06 Jan 2022 10:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=u1Q8Df5/hOM3OLMWLYMD6ERNRv8cq51tC4DQbEzmxQM=; b=GZLMD0kyttEXtw9Svk53+KH2VzlNEDk+WOnr2gT5haqsjn2cxwyYdD9+TeqfblfJRR MP13pvdrxSv6wQhcjzWRI/Q30XsmjAlNCXi8H4VmOl5tXArhpT0Z7VUVGp884+imM5XE LcKaIL2m7M7hfUr2X09YiG06MIfO5EOI41KyAhvp6M6DSfsOoUk0VSad0frRYnP0QFFC tGsQ7CGVZavkls49YpcRLCbayJ0x5xXiv76AB12hv6eJ0jc+JhXpGniCu/ExWXRJrv+B x4ZBkR5JWMlytkwLDqGtKQTNh+3YMC7ZHyaF72EGC7hyXxz7TqEGuGetO+XUmCRtZ5jy eeMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=u1Q8Df5/hOM3OLMWLYMD6ERNRv8cq51tC4DQbEzmxQM=; b=HfwX56OxIvn/UweueqyQEsUPoOOR0ZkOPEDIfRCMU6Inc6hAlwUDDMNC8/WdwvpoN7 rI6aV/7p57Xz/ZTkkElsDhCJHikc+oux676XR+Bv0BKYGxgbbwszrwF/8ojKwgN3dIwY 4sEeNaRx7DqvHnRQE1QNZi6ynZd3lXD2IRh0OGqhCjEyK3herZ2OFZrd9oLsFYkva3uo eETq5o4yh2EP7oZHaypGROCtjSlz/llax+A0lxWfcqY8FvqXXuJB8KjDlNnL3x0vFkuL SvZBNGeaAoBH56l8m6XJgRvo6R/Yw4ez8yldTEtDDCSiac+LtIUHg5lmvEQzKyQi+Jqk 4cpA== X-Gm-Message-State: AOAM531JbEF7J1IfxJ8M9h6739XwW4aZESdS9OfcIzAjnp25Va8TodlC cAOf/5MVTibFEII1UZVKAP8= X-Google-Smtp-Source: ABdhPJzzyn7hqmEJlsckCaWPGNuRlYKNcaaglgi2MOGnrt5TgM4yHPwqjsCwCo4ujOF3KIORAjallw== X-Received: by 2002:a5d:6c6c:: with SMTP id r12mr52279776wrz.532.1641493474262; Thu, 06 Jan 2022 10:24:34 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id b17sm2693311wrq.91.2022.01.06.10.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 10:24:33 -0800 (PST) From: Liliana Marie Prikler Date: Thu, 30 Dec 2021 02:39:00 -0500 Content-Transfer-Encoding: 7bit Message-ID: 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+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=1641496324; 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=u1Q8Df5/hOM3OLMWLYMD6ERNRv8cq51tC4DQbEzmxQM=; b=qc+NQY2+1aF2NBhqIBk+IRHIoinR3ccMsAGkg/Ssx1dU8XIMIwGCs/DoZaPfV4JLL8mcN1 OEztWOwJB5dUimIpZlw/grJUoUxj1D31RzHeA2yLbvQJiZpCJUpP7jr4qh31t3D5PjrmPG XJDduoCR2gHQswDwsft/ZHh6pWqb1I9rjVDfgNx7N0bv1d6EwbOd+kvlVO79eaC/jNyipI NvuizDK0pZW9DaENVrxc64fn1vhKnVzVT0/VfUWaLk5+d+9rS2frOoLaMNgfOYLr3j78c7 QJoaANWjVnKRXJcp3IKpmOKXJQ9WKnkGcKUGfY5A7laNbbBfRdfF4K7ITWGUaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641496324; a=rsa-sha256; cv=none; b=AjW0831pvO0frYVdpLbcDMuPGNAa/hMUfq1rC2CIMbKMFpFHzpXTtVXDJkQ4vBl0knEjFp w/l4auK+cNDgy7X0MUU4pX6e5LoJ5dDnqJQg6uMz6Z8X1EO0+d8/fyGJCuHV7h6XHlb9PT NHmub8HuSfF8d6NG6ozQOvTNU4DQoWoXnQWEA83g6ypV4ym2lBlORuGZIHbHIlTKp2vWmB bLdUJ4dDwsYr96uwHXJo6xa+HXV7MomWe7AlLk/N51tpLz3J3DmLVKdjYdYQRmojGZh4UE lF6BzAjHDi7BTuWlh5zJy2ZAtXF4OM3D0oSvFMH1NmM8fu6cHJfGFAdnu8jmPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GZLMD0ky; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GZLMD0ky; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 7579B2AFED X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: cG0MEFq5lBmc * gnu/packages/node-xyz.scm (node-nan): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/node-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 9bca308dba..c689c3e3c2 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -567,3 +567,46 @@ (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 + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-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.34.0