From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eJ9yKs1wzWGUFgEAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 09:41:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cjoPJ81wzWFcVQAAauVa8A (envelope-from ) for ; Thu, 30 Dec 2021 09:41:49 +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 4DFAF29A2F for ; Thu, 30 Dec 2021 09:41:48 +0100 (CET) Received: from localhost ([::1]:40326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qEm-0001yj-2L for larch@yhetil.org; Thu, 30 Dec 2021 02:52:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2qEF-0000tK-FE for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2qEE-0007CG-Vt for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2qEE-0007EO-VO for guix-patches@gnu.org; Thu, 30 Dec 2021 02:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 27/41] gnu: Add node-bindings. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:52:02 +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.164085068527632 (code B ref 51838); Thu, 30 Dec 2021 07:52:02 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:51:25 +0000 Received: from localhost ([127.0.0.1]:51242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2qDc-0007BW-Kz for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:51:24 -0500 Received: from mail-ua1-f51.google.com ([209.85.222.51]:40714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q9w-0006wL-0q for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:47:36 -0500 Received: by mail-ua1-f51.google.com with SMTP id v12so29385492uar.7 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:47:35 -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=GVhR7uILsKlwElnQTwxkPmMyNQVePtrYiqSjktqlm9A=; b=H9uhrOj8S9K9sxxH29hOf7hEvZEyT+tOfPaCmRM5Y09OlR/FKJ34V+WH6IoDFPZKJX zaK4fr9cg1dThyfd8gNvHHhNuq9tQ33vvQYnSzaorj/IN39fYwNZYs06jDEixMh6Qaw6 lsW0F6ftWkuuS0hLDfeOsZHEgI0pgLFEc02eNOYmeY3+8a4WoduSvLD2zj5tGvc6deFw yCVjsbLS1/xKr13W0ecpuDvdBAkLvTS88NDC5CA/UwrJNq38o9F5gkxOHKjbzAPdL0++ u/yZn+qkZl2IUUQSVq8ZWeepOvrVUVgsFpBXkDXyvAVlrW/huWjC2WUaZ2xoO1cHQtWU NOPg== 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=GVhR7uILsKlwElnQTwxkPmMyNQVePtrYiqSjktqlm9A=; b=gcnzzV26+5tgZ34WXPvQM2p/VHlvAbeKGZM/Vd0v7p3xllRMsrq5YIKJ9MHCMguWcn 8TspQ02iOZGlcfqqna5k0/Bv6Q7U3tZ/qbmXB5znSZo1ST/hdV/bEwsvsUDhpRm6MXxO 8mSClGhRWV9GSgUw6bUlUngAO72qS5P3z4A7lvisrS3SZ6lSpwP1o1p/poLOaZOlt182 jXMHdF2b0Gz1GXpNVu2Y1AiJpRIHIfHJZYGaDSDMFT12jX3hC6kkLfjQWu51mm06l9bj RXG4cprfEt0S7TN2C/0msMv734ACeUnLADaBPRVZqP4nkS+oFOH0uKY5H1kqAENVJGCe mTlw== X-Gm-Message-State: AOAM532SHVucJyVE8LgmMUnAXPKbUEq+ZkgL4xMPt5Msh34FQsR1jtzY QXmmzH72F3GsTN6mXgg2dO+gExXjCko2Re/y X-Google-Smtp-Source: ABdhPJx/XMx/1WBU1RSKpR+QtCliC5TvUP17BEYBrzztqiU+J0gIwQLHWUjKncm7SdEeWkbq99+71g== X-Received: by 2002:a05:6102:366b:: with SMTP id bg11mr8541256vsb.26.1640850450551; Wed, 29 Dec 2021 23:47:30 -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 a65sm4995546vkg.27.2021.12.29.23.47.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:47:30 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:42 -0500 Message-Id: <20211230074456.33433-28-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=1640853708; 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=GVhR7uILsKlwElnQTwxkPmMyNQVePtrYiqSjktqlm9A=; b=ULO7kUpvgoeht6KhXYsmVfPsyfcXTQ/3QZYT0WY2aKCKVe+cJGL7zFsJ7CVVDEYgYx14Lt mGnnDy3svHrOmKYC+5ZYioT3kNnoFS9rOMLHM0j93n/Es52N8YkuCmB7gqILwQ7CkTUPqX kkDY3EMbHZ8gYavJvN4ydU2EcyFDP/UzREQMqWJB25MyD92yTScFSxudG7zLpcdUOmeVZy pOJHyzEAxb8Bp8k3LGQlq4GbQvuwjchyOM9iFwL8heDxu+ZK8U777U9JsNlqWtLj7hE6OI OilcjD6NwiSCWqaWxs605cC2McMq5r3Tsj2uZcIu0r8fEa4QGDNNdZraeAAPNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640853708; a=rsa-sha256; cv=none; b=cAY58lv9mKRLDHV8PfxCMxoL2IvJehqWbIVdEyw6L19V19c9hojoJxewSU575jmeIUjQPQ eBRPymQ7q+7lq532uHTs/ZP/h2C3cgtR2B8CpqxBxCtuiC81J3KtwTWfodfTitdPz7400E I8G2fT+pM/I3P8m0u9rWlMcILl6vIeHz51BZhbfH31Sq/PhYv/ivrJsXX/M8sY6Ik14+/M igCjYD7ihPRQyzRO9utO7gatGt4XACyF4jmb1kGx4AgX/+fC0ZxU3AS0/uY0V30VDqRwOV AZU++YpjhW48o9W27d/jpBVnaEuiXtUVv1AzZHLgW1ww07NmKYq8om0MQj/nOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=H9uhrOj8; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=H9uhrOj8; 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: 4DFAF29A2F X-Spam-Score: 0.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3GvlZEGtFvuH * gnu/packages/node-xyz.scm (node-bindings): New variable. --- gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 6aeb651c4e..ff59028e69 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -853,3 +853,29 @@ (define-public node-file-uri-to-path URI to a file path. It accepts a @code{file:} URI and returns a file path suitable for use with the @code{fs} module functions.") (license license:expat))) + +(define-public node-bindings + (package + (name "node-bindings") + (version "1.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TooTallNate/node-bindings") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "100gp6kpjvd4j1dqnp0sbjr1hqx5mz7r61q9qy527jyhk9mj47wk")))) + (inputs + (list node-file-uri-to-path)) + (build-system node-build-system) + (arguments + ;; there are no tests + `(#:tests? #f)) + (home-page "https://github.com/TooTallNate/node-bindings") + (synopsis "Help for loading your native module's @code{.node} file") + (description "This is a helper module for authors of Node.js native addon +modules. It is basically the ``swiss army knife'' of @code{require()}ing your +native module's @code{.node} file.") + (license license:expat))) -- 2.32.0