From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IGc5HF3xu2H9NgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:09:33 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MI7UF13xu2FKcAAAbx9fmQ (envelope-from ) for ; Fri, 17 Dec 2021 02:09:33 +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 aspmx2.migadu.com (Postfix) with ESMTPS id D023735674 for ; Fri, 17 Dec 2021 03:09:32 +0100 (CET) Received: from localhost ([::1]:60086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2ge-0001Uo-0X for larch@yhetil.org; Thu, 16 Dec 2021 21:09:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2eE-0005YK-AA for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2eE-0008Fs-13 for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2eD-0005H9-Ru for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 31/45] gnu: Add node-bindings. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:07:01 +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.163970679520150 (code B ref 51838); Fri, 17 Dec 2021 02:07:01 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:35 +0000 Received: from localhost ([127.0.0.1]:37386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dm-0005Eu-Nc for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:34 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:39577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dC-0005A7-OU for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:05:58 -0500 Received: by mail-qt1-f182.google.com with SMTP id l8so1197267qtk.6 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:05:58 -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=nj9L3qO3cqzx8qXDO3ln6/nDaUJ2+an2oKZvTNkKMb8=; b=Rt/cGb/bnFJCBpqn2DuLaqZrKQLOAk1CD0XrGJIvdEg1VzOso7qDZ4edU1I7Pa13wi /Te3a5ifIETf/A7XJaltjF/SXBnYBJRbyUwrtplyV/pSAeRvKLhIAWTHNlu5RPYnc+Hb jsAV1nx3/gtr7H+5Vlg7+d6spwhedqq7nxTcFNx4m5tw8iE3EpNKZIM+w4zc5H3QAdbI KPTYbl7dSY4TMnODWC7qxS8hhGIE52cWwpFyGLs1RzM6P4LIG8t9uyw6HPX/kEvFan+M dBwh2yXhvuFjrUvUZHHparlscXUYRocOnv9j50VVedOXbjEPvodcbHfgiD2iGt0+oGbs gpDw== 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=nj9L3qO3cqzx8qXDO3ln6/nDaUJ2+an2oKZvTNkKMb8=; b=Vb8ejx2Eun9lZV1zKV7PcPexjuGuiv/aOCEuR41iEuid/jYcrzV0jOxlEFFg1rwBPW /NQ08NZIpFsbPLpmH+cc96OZSdhg1+f/8eKPwz7cT7aVHEtgdgzzr484eHU2DdwbiZQ8 7vEr3W+QWOPWVzwM28pBaHjAm/WcXnSN9h7TYxjy43dM+hRAhqDIT28wOc78voIowlYq A9vSeMnit49rxOZ+87yNiBlkpc5Jt+twbksPEx0ruxkX57V7jKPz4JQtGXr3ywO9Rjlb amogn0HZxVr8A6TN4TwxEOOvqMIP8Jok58LD5+Zwo1DdGuFdFTHYlbf2ZgBM1E5iQmKQ 618w== X-Gm-Message-State: AOAM530oNH2ZZuDMKEza+1jDTyejxaLdSePuHiRCuIDYVPt12KioDN5O lqlmO7dAi7/fk7CCgNxGKnhdn/XDujIdOZeM1rc= X-Google-Smtp-Source: ABdhPJxNKbp1nQF4NxZTznJGHOcwpNJ/inT2GT6wFSNKdvqlPBl/B/8Ce0rPe7OWNeCrA7G4Ispwjg== X-Received: by 2002:ac8:598c:: with SMTP id e12mr682235qte.337.1639706753416; Thu, 16 Dec 2021 18:05:53 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id z4sm5940090qtj.42.2021.12.16.18.05.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:05:53 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:11 -0500 Message-Id: <20211217020325.520821-32-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-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=1639706973; 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=nj9L3qO3cqzx8qXDO3ln6/nDaUJ2+an2oKZvTNkKMb8=; b=WfaDAq9ncFEIYoSrCptqx5lD9r3ku5MgUkiMjVAEqiezbtFDgOG130kbAzdBTUvUFKEqMq pSfM8PqvGVRseIXrlLt0NjyrmwLkg/4bbuY2UG6KR1+ohpsjQ5Z6wy5Ue/klTcjilA0rFx +kBy84qd1+a5C4IN376hPOGu5xLA9ZapGw9W2ORlUTQqE0a7U/6NaSe+GJljjAwZ1cNshB RddmX/0GSJHK7LLdvqBXhA1VcSAQyOKd50F0MPnji/YvNu0iw1hI6qB15/rgBT7U6w0rxd CGb71+2PIcIQPMwedxMIpm/AViQ6CHO1ZyruusNJZ+qkgcFK2jkhmOTsLmgEgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706973; a=rsa-sha256; cv=none; b=JyhFPCsHlO6JyXjT4pTxUTg0h8ZmIlg70SUAh+MEI1gRgHzSTV14+ylP8TsZxvc7s4kCc3 Bo35LJ3hnT+wiD9tfJ3YojACrdiGlBXzHTpgeAnQ0wAQ6u3Gl3F2rhiIRVAvxBbdx8cwwK SDqLd27gRMWehLkXuPnGIh2xddLwQknyE7fU6HoyZmBaY1yhOhyu5UfYUDkecOswh7ehpH Rahb0OkIKk8tJic7PXf5krKW4eAyqObgwbyFdHhqzZk+G6XB3plnHNS4kY7e4lUCz95odQ jdJoXAzt3IKxXA7Lms4qi8NWjrnJgzxw4wNa2Ca52ivMLJ0gTx+AXE/qnaa+Bg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="Rt/cGb/b"; 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.01 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b="Rt/cGb/b"; 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: D023735674 X-Spam-Score: 0.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3o98G+9/a8D6 * 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 c9afe8ccd2..913bb7d149 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -835,3 +835,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