From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNs9KlBqEGFVIQEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:35:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WIacJVBqEGFaZgAAbx9fmQ (envelope-from ) for ; Sun, 08 Aug 2021 23:35:44 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 2952ADD0B for ; Mon, 9 Aug 2021 01:35:44 +0200 (CEST) Received: from localhost ([::1]:42914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsKR-0000ba-Fe for larch@yhetil.org; Sun, 08 Aug 2021 19:35:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsJu-0007ob-4V for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsJt-00063p-UG for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsJt-0000uy-S3 for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 10/31] gnu: Add node-nan. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.16284656743353 (code B ref 49946); Sun, 08 Aug 2021 23:35:05 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:34 +0000 Received: from localhost ([127.0.0.1]:54981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJO-0000rv-AV for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:34 -0400 Received: from mout.gmx.net ([212.227.17.20]:43419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJG-0000p1-0t for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628465660; bh=h00xkQJgUXFPJ95URPrq+fzQXBggsdaz074TJ1WwMzw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=R9l8zn8ScNY3Vzegro8tDTDBvPDoTSjJELfs7qNOTskttD3IY73XiEZjs2yh/K/8r zg+flByIpJ+Ph8Dm1lugCLoNA7frcgrqMl0pUa3nIESkT/8905UdcsSGPYbQ50fNO/ JM00rTR9FeK6+IJui9Ga5eUnIyoXavoKyLF28aaE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N3bSt-1nDKYB0h99-010gk2; Mon, 09 Aug 2021 01:34:20 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:33:33 +0100 Message-Id: <20210808233354.6745-10-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808233354.6745-1-pierre.langlois@gmx.com> References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:IAHXCrYwTD03XDP7/7DLA76whVEyVYhnx257T2hZY5YQAvnlJuB AMfuRJBvokiFeuycEr5NxHHbn0Uwrj0ZFm9N8O/wWqrvCPtm974tUk85lSgz4/2gg+cl4Hs OJ69T1CS2jh7EBLKBuG8ZGtf0xLp6KlzKcvX0tPdSwoyYePwLHcosagn1sfgd8xf11EvscW ogxJEkZ7m1UKovkvXD7LA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hwTtky2/siE=:GKz1rXUZEqm2uJ85NUNo9Z qnXUbJ1gMURml+kMIDk53OR0GcfuX3INNSfFN/AuvM3U7K4lmIYtp05GkIaF/nYi5R4lxq9o7 oKdSyXMWxcg+5DyGwD3TBV277oMShJFNl9wiwW3gYB6Z+sUTb2VqJzt1DS0QsC4kbd7horHeE LF9rC4BzfmNy+nyFHsUmQ9riggxDAB7BMWwv+3m2oy7Mr6RTvKcgRqE5QiFbz5loZkuQYgJ+i E+XUmO+7cf5S4SWVIuFO+V9wRAoTV3MFKUCex9VuB3nXE/rzn1SEKJv0zEcCxjpAxGzMZ3R7y BvtFgDlU97hY5AgCRTz54klVhtvkPG0/eIO1vOBrYZhyQdOA8/T04LeiosuXj4o/znrCWb61D FzzakCDIFZcwk8UK3QcU0n5RWheNIYG1DpH/65iPpAbbo8s4bYdwZnoZnrNzoPpBKCjTZACE2 sIALcb31rK0PfN57CbPMWWZiYOMRWqLlbWynRhW/sCRE1Pq+OLPXvxDYQq72HZvw/0uyWm9pO qIOpcgNmoQ/fV0WKXLAldHf1JY3cQE88i9eoXDHZoU9an3Ga+XiNOeqCb0SSqi+rtGwc/SE6n ReNK2erjkSJWIrFlmQbxlkkbTQixq9CMRbCz5H/WvjW28m3pGPQeVze3dSBNGcZPo8RezpH+j abprKgkzQo05vJ1FSt9ZNUsnRInZuJIlF5/NV7rXVv8RE4ZXZt/9Ms1Mnrh/Z8uUj6uHcHKr/ Pz4otQmjIvREoASCwTROSsNeWxJpmSSgpf7xYy3NHuecbDjcIA2G4eWNB37dQ/DSjy7+FMs9f 2u0Ab1skoARMV2jONlZ21tiAayzSkjoC9Ho6PJqEMEHgf5KjbuTSiDTR8f9L9xkYVIgUSm+HS CbHFB0ignpWmUmx4eEcoiwIogvvsfkEGqx3XxtKCWyfA78PhWlqYjyYin0d3IRWPSIltN3Yo4 Em7M5ECcZPflO49zoLs/0F4eIFaEwUbQkB6O5A1vyeMtqJD8UkYV+OoK1fLBd8T/fih3zKOdd RQWzx6/P8k/4h+PSEZqSU4jWefGwivfMt2sOGSmaBOw/whzmXT/TbL+G2fQZo8swhVvP7eKcV HEXxBNWuaodPJHY2nAEmZNsGp4ubUyxoN2CZUu4pdnMsUCuVUi8x24rjg== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628465744; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=wsINkpf8gcGGqUutkUrBgcbk2VHA4bszIxjBciKI4D4=; b=s8+b/BcvNURoAvCMCFntR3th/zRfuoH0R80QbrXjexm4KccqUhkhgbHerrB4JrfkM11JY9 NtYHrcylCb8BgcMeJe7sGktXNydY5kHxjr3YwiHWTpJ3Axuz9PNOO2uYUCxJp62VYIqIwq 9NyZJaNjsuRm1p/pMZ8ZnorI7qH9xHmHea6dSkvyNs3RcwkImFdhsZcwlwgk0oEo+/bxkN zMH5otwvH5Ma0oB4ruuJfFJmskJBVRxuE/yLH0a7UO/+lPkv6uESkKt7Gur4nQs9ncYUH8 9W9XAjLlNo0aUtJP6ggawvyi3KNA86ZfABx1p+qX23BY6+UiTWUtaH9cH+RqZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628465744; a=rsa-sha256; cv=none; b=GBznB9Ds/afxXt/0mDwkF7l6VI8JCkuE72pvjS3/e43GyMNsWq4pwnT4bOnRszxPbFH1cD 4vpPcTbBDa4bp4wwpwgnz5khY/Q1QkRtSGT08yBLtzalROxU3tsfRkl862Z4MDNHJGgcYK Ugbn9MS967wn8ZsDvbi4FOvS+vYcMHb3O9QmZOtYJJyfRKyylbGME/ElGl0XKBfRNSRzE0 Q61LuKPP1PHPbgURgx537ldf6eLsDk64MK/DqnQnpvUg5XpiOTBTsllg5J3LX1WP+qpvjD DWf+1JhNX/vMskHb572h/nRn5yiqDGV8r3rR29TT521GoqE0jjTvIdnujshHZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=R9l8zn8S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=R9l8zn8S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2952ADD0B X-Spam-Score: -0.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: rN1R9Z2/wrIp =2D-- gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index cbb68f77d6..eb4b59d1ab 100644 =2D-- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; Copyright =C2=A9 2021 Noisytoot ;;; Copyright =C2=A9 2021 Charles +;;; Copyright =C2=A9 2021 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -171,6 +172,35 @@ user-land JavaScript.") random number generator.") (license license:bsd-3))) +(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 + '(#:tests? #f ; FIXME: tests depend on node-tap + #:phases + (modify-phases %standard-phases + ;; The default configure phase fails due to tap being missing, a= s we do + ;; not have tap packaged yet. It is used only for tests. This = package + ;; still works as a dependency of node-glob and node-inflight. + (delete 'configure)))) + (home-page "https://github.com/nodejs/nan") + (synopsis "Native Abstractions for Node.js") + (description "This package provides header files filled with macros a= nd +utilities for making add-on development for Node.js easier across version= s.") + (license license:bsd-3))) + (define-public node-oop ;; No releases, last commit was February 2013. (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc") =2D- 2.32.0