From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uIB8MQBS2WEVWgAAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 09:57:36 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SKfXLgBS2WEMhAEA9RJhRA (envelope-from ) for ; Sat, 08 Jan 2022 09:57:36 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 6DE51331CB for ; Sat, 8 Jan 2022 09:57:36 +0100 (CET) Received: from localhost ([::1]:36826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67Xb-0005AN-Ll for larch@yhetil.org; Sat, 08 Jan 2022 03:57:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n67MU-0003q9-2u for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n67MT-0004dE-QP for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n67MT-0000vo-PC for guix-patches@gnu.org; Sat, 08 Jan 2022 03:46:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v9 27/41] gnu: Add node-bindings. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jan 2022 08:46:05 +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 , Philip McGrath , Pierre Langlois , Liliana Marie Prikler , Leo Famulari , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16416315463424 (code B ref 51838); Sat, 08 Jan 2022 08:46:05 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Jan 2022 08:45:46 +0000 Received: from localhost ([127.0.0.1]:46382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67M6-0000sw-OZ for submit@debbugs.gnu.org; Sat, 08 Jan 2022 03:45:46 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:46785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67M5-0000sK-GA for 51838@debbugs.gnu.org; Sat, 08 Jan 2022 03:45:41 -0500 Received: by mail-qk1-f176.google.com with SMTP id 202so8467979qkg.13 for <51838@debbugs.gnu.org>; Sat, 08 Jan 2022 00:45:41 -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=LjLAFbLwHG11XCF3uwQHR/3kZXssXLkg8dNtYpCajjY=; b=AOW/4BYwNimOBzj3jOrfVwgjPHBuwKOx19HlgwqfqZJxA7djmxeRC5aGfgiV/xk01x 1SrbzTwHq7+CXXqyOS3/FwDxO1dqGM9uW+elH2AgcZH4FflC8ki6wHvOslqawK24PH+g +DaRK/s7iFlyyd/63qF2/QvTpksDfe/Y8t34NdnAHr5d4UVDAVaU1mxzwp+wZrTqLnua itjLyTqJvZDz4B/EtPhVdnOXS2TkSfy2fMFYiFArNQXL0WjIWNk2ve47Zgn4qJOZGXhN EW8e/nrP0CF6ZvGnDLWQnU8Pveh+hb7zMnqYf6pEdoiqk7UI/A8a/FNh6Xo2AIMoKpUS DDTw== 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=LjLAFbLwHG11XCF3uwQHR/3kZXssXLkg8dNtYpCajjY=; b=UApBaSxx4fn9ahcvF5c8zEPtqPKNdevMvgdpOMw0gIBOv8woXAhFofHPnKsJe9JvcJ Mu0d9TuZia607A3RyCkx8o03V1/HZrN26RqZBM+w4iry47yhv8a1gaE+xPbhQ+KwDU4t 9sezLTdBF3XUVrAHUcy1afH+zicpB7WBtQxjIH4M3dggqH2SjBgzJUhi9EQ/SQAX6XUx tcKGlVZIhpr3tGuZjSyhPZwuyUJGovPCkBhWbua1GZAu/ImRR/Zk+GmqrYUNo14wSB/d VELWH+zw7wgwmkJAA1qo+vuphrZEuB6XDNEU8sthLThttXX1AL7VmgMN3aga8LEZXeoD ONaw== X-Gm-Message-State: AOAM5327udc8lZvuNKRvLnsEVNB5vUeHIY4eBe+IydwQ2O3+M85Ag8fO 9kgNMYCetTQdGaUjJljXMq+pgvASfNJYxQ1c X-Google-Smtp-Source: ABdhPJxoAb/SRgiO4NFK3SeG70aQxinIicZlHH0O1az8c25aAF8mrG98O/nwAYlgMa9c4oCEu6uV8A== X-Received: by 2002:a05:620a:2586:: with SMTP id x6mr44871618qko.15.1641631535974; Sat, 08 Jan 2022 00:45:35 -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 d20sm643526qtg.73.2022.01.08.00.45.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 00:45:35 -0800 (PST) From: Philip McGrath Date: Sat, 8 Jan 2022 03:42:15 -0500 Message-Id: <20220108084229.362642-28-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220108084229.362642-1-philip@philipmcgrath.com> References: <64e08d3a1838ed8507f33fae895545372960522f.camel@gmail.com> <7b04af28bbd57c67093ce8f33a648efec89693bd.camel@gmail.com> <441bfeb0-eb6e-81f6-488b-cdf1b09a78ef@philipmcgrath.com> <20220108084229.362642-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=1641632256; 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=LjLAFbLwHG11XCF3uwQHR/3kZXssXLkg8dNtYpCajjY=; b=sUyPWOyUrKZFexI3vixKHJ+Fwgj9nOWoLXiJaRoVPrp52oOhHTQ+PJM2rqc3P5O2mFveRU 16JSVnq/3WTwxmpsvr2Dp5addWNZgdevmeykRTTjxauGIJ/7HpyK4iwdr8tagdrsTPVUbW BfJL+H4hV/ouKGk22toB9gU1/05HWiBVHkh1hWhNbK6/wMq2EPhEKvQ7lvGlkuA0TaEuub wuS3CB4dwwBhpvbFMCII2bnRuzorS+UtMpp+LAZo8vUw7GTSjqqOAVhZNqVRb9L/FGck2Z oTocMSUs+AkpK/NgP6ki4nOJaS/4i6OCwMgYY22SzyTd6oecIi8YVnu2AaGCWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641632256; a=rsa-sha256; cv=none; b=H2ycNIIVyf1A/7Oiw3TGsZ0lofrXCvyvjIwV0H6I4wC57JQeEWpP5yblMlWAyjHTwfM328 lVyVBkvRYEpZ8t+7xiPzn91xE9hBwSWmgL7h9Uvn3Kifbh0ihwznrrFYKy8TINIAOZ/Xyu m3MwEub3B7OeVlddR0nvpMkz9cBT5XI5OWfuI1xwtaaegrZ5UkvecIsvlJx/ok3gniJbEv X127EqbOJRdDauA3X9FkvBWfsTYCVwHBAuZZUaT5c8TRC8fmHQ76JsvF6lnDoVRWRZbnAg xvdDh9g/r+Op+9ffM7exowQ6y/46Us5e4+bhNkW/22s8IXyK0gr6sXWB1zNF5Q== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="AOW/4BYw"; dmarc=none; spf=pass (aspmx2.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.90 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="AOW/4BYw"; dmarc=none; spf=pass (aspmx2.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: 6DE51331CB X-Spam-Score: 0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: JJ5nIiD9ek+e * 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 c35ae10990..70dc08debe 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -884,3 +884,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