From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 EHbcKXZjzWHcyQAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 08:44:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yCo7J3ZjzWGwZgEA9RJhRA (envelope-from ) for ; Thu, 30 Dec 2021 08:44:54 +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 749D3177F1 for ; Thu, 30 Dec 2021 08:44:54 +0100 (CET) Received: from localhost ([::1]:57012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2q7J-0001ne-Ke for larch@yhetil.org; Thu, 30 Dec 2021 02:44:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2q6Z-0001C6-A7 for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2q6Y-0001oW-VZ for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2q6Y-0006ja-UT for guix-patches@gnu.org; Thu, 30 Dec 2021 02:44:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v6 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:44:06 +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.164085020425653 (code B ref 51838); Thu, 30 Dec 2021 07:44:06 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:43:24 +0000 Received: from localhost ([127.0.0.1]:51055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q5s-0006fa-Gs for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:43:24 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:42612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q57-0006bc-9b for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:42:37 -0500 Received: by mail-qk1-f176.google.com with SMTP id r139so21072174qke.9 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:42:37 -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=SmYhFpNoYzr2NGJVdNopqsVPWfIPu/2IA5BeC+2ad+M=; b=IPss9Pa8WF0jy35ycnVhHTgxfXs8a5kZ7lVBIduvWMAUfcsIFRNzV2n67L+1d1Qo2Z c2/1TGo+8aKaCuQ9gUxXr6wh/w+uBJAqyS0Pf4xtmlWhjEvOxOQ0SAD16qVZEz3lAioy InIRUhCKAmBwRaEAu0zmMAlLm+xAABo0ncudvOG4q4Lhu8E0G7Wme6oXtkOBqJXJrQWI C2pMdBqUuG2zg1pTDqfeHEholRVZjgDCw7Br54VWpxzPihMiCgskHNdgwHu5SLaJSr1U un0o9JPl6MaPSwQFYwBfoX+IEcYmQHKrtbjzf3LqIzcOCMzj4h5aPs1MU/I4cmL7p4aD iu7w== 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=SmYhFpNoYzr2NGJVdNopqsVPWfIPu/2IA5BeC+2ad+M=; b=ov7ygVxkiSFYujJoK5wZNmc21HwV6f9hFgsce1tNWjDzLrhV8HNT0oubCYvhYvkhS3 dHOJlumUpG3tpBGsWZ7yxXVI3SydyjOa3JIc9f8xkoiZTLTtW8HoUMgVLHi6zmSGO+tp EwGXxc8EWIaE2Th3+5jJqAXZBrRlO77bsFKV+0kKITvr+d3sGplMHGevHbg32fXqCmQb 1Ys5ys7A0gn7nEa0qri15OSJc31mtqqg1VSvVxiBXeOYP4dJULELAFgoLiXQe99TomaU DHZ5GEp+Q+rzcOEZpdqd7oMs4u0pkVBFVHEc/gX0irzRv1OrXJr6UNBugOaaEzEmxRks rIsg== X-Gm-Message-State: AOAM532zDOL2aZFgL9YRYBJjLnAO7meuYucZqZSWJvZCUPG+KEHHVe3s IfG8F0zqW2mka2GAauoM4ss3Bh7PbPc/A+bO X-Google-Smtp-Source: ABdhPJy//whRXxI/Tcf9j94v7pUc329pzZ2D1G32FXwXeks07EwuXqMzM9mxUYIs1JrkTxpgEXpEEA== X-Received: by 2002:a37:9cd7:: with SMTP id f206mr19786868qke.248.1640850151793; Wed, 29 Dec 2021 23:42:31 -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 w10sm20771203qtk.90.2021.12.29.23.42.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:42:31 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:39:05 -0500 Message-Id: <20211230073919.30327-28-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230073919.30327-1-philip@philipmcgrath.com> References: <082a81964a43ae5f735ad2ca433d0dfe00859c35.camel@gmail.com> <20211230073919.30327-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=1640850294; 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=SmYhFpNoYzr2NGJVdNopqsVPWfIPu/2IA5BeC+2ad+M=; b=Bf1eGddJJa0WLuFUBH0E1AXrt5aOXib87HiizwygNwdzyfeVeSNzJEp0qeoT/UqdRlM+BS xQuhd5B5LEMVKXsgbcFNFFMBM3rJxQWlfXk1HuPVDb9Ct7NMrTgd9mV9vLWVNBqcS8aMIL NBGLrqTjYZE5oY7x0b7DCHh5gXjMC55PDPuDEiPZQFrJrI3HpQFw8Kbjy/Niqzr8k4qXmh dFG6kxpiSUIHBuCs296FUUbhDpr4TD1jn8H5BogSyDgPrEi+OQ4xbkduxoXenlpv11bTJ7 ODJeUkqPz9BC+1Oi6WT+WDjt15qvoakVVa+4OdM5E21s3ZImj8RrecWeR6GdKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640850294; a=rsa-sha256; cv=none; b=mzf0XW1eMpfQ2nAzXR6jHMrKjmfK4ZEHpzx12Cl/NTVjOUZE63CgPmYISGwSbXf5+0gFZ/ XuH/ENPBwLPrE6AikgT+VBfxZmrQa+cj4H8gGu0IuIplA10wMxGW/CDzx60nnIL53Yg/to RwFkrKIZDJ+E/jZaT+O/g+b36jeC9OvVKe/jtw2wRgjJGj8laYX6L0xB3mGkNIatbtjJJR 4+sal1pPXCYT1AvVkgvJJ4F+IvZcN/IUgoH5rAugOwXZC2WpW88U1lE1g+RwxLYyyXek7K n+tu7/0bMAwv2PYov5C8Oyb/fwS7vI+Hyk2ulw7RuJarSazRrLXozz9GNfyMNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=IPss9Pa8; 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.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=IPss9Pa8; 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: 749D3177F1 X-Spam-Score: -0.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8Caq0yeRm/mD * 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 ef190e56c1..8d183cbe97 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -920,3 +920,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