From patchwork Mon Dec 13 06:00:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35185 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ABFDF27BBE9; Mon, 13 Dec 2021 06:07:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EC15B27BBEB for ; Mon, 13 Dec 2021 06:07:28 +0000 (GMT) Received: from localhost ([::1]:46584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweUi-00062k-1S for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 01:07:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSR-0003ek-Ce for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSQ-0007ZG-3r for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSP-0002dp-VT for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 31/45] gnu: Add node-bindings. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05: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 , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163937549610010 (code B ref 51838); Mon, 13 Dec 2021 06:05:05 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:56 +0000 Received: from localhost ([127.0.0.1]:53796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSF-0002bI-Od for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:56 -0500 Received: from mail-vk1-f175.google.com ([209.85.221.175]:36507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweRr-0002Zk-Sz for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:40 -0500 Received: by mail-vk1-f175.google.com with SMTP id b192so9718732vkf.3 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:04:31 -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=/6Xhi4KFgYER1BuQweWzYcvvzBS2NiabqGoGq9oQsjY=; b=kI17OpUzFO/JyNh7Z6KDDn3x8bO9RQy5+QkCEBlr9WOePYZUNzH99Z8wyxKiOeOPna 5j189thZ+ODZppijK1OHDORtdfT66BC8mtKQZ7zQMgHmUTTYy+COutURG4J3Fjj+nDGT enhnKQxagKym+lPdc0UvaJ3UxU1WAz+OhIGQYqcTL7+WNEQ55BO1f0pL1cd4KuP4ZCr9 JwF8GbU0EfF5qDaoPwBhr+wu0eBs1Q15j270CxmH7dGTda78ruESHhbjgGXaBjFUfcd9 lFY+8vuuuWbEFd65/d5CqI4U0SsHviKTMd9KS+VqFbCjkYJYyLhTtSUUxBrmTN8lSy0m qpKw== 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=/6Xhi4KFgYER1BuQweWzYcvvzBS2NiabqGoGq9oQsjY=; b=Td8UV4AUSjDHO8zQECKeuPoYEUfw+eDiLGIZkutEpYMXqB9Ua3+4h8Xa6Msu4ubcGE zTk0YUL4VYhz7wnJ4gEVnOjgv2kuSedgVUPCNFbJUUPT7oE1pqMpErZ5KK3ZEt6vgMnA LO6evrMtkk0aPeqOTVSTt8Tbp/5tNtvXp6NV1ouL2EMmVFwfeLo/dnCKoJ/lcqTSg6Tk /co2ejC048QhSu377rsRW4N5m+k7KHMTj3OkN78l+v693/4xYJKwUrZE8MI7JPvEZvte hbAeQ2iCOgPE34nb3HQeqqzYAuenzvT6w52nLm1cNzI2EWmVDpmwWL/6DGmp5+AGvybJ vnYA== X-Gm-Message-State: AOAM53314mEKxk/M41Q+BE1OMpz9CwMfuax3gSvq38J4JmyfvnU09EzT r0nuNXFihUBSf3i4IEDjzY36YIA2dJgrdfj+puE= X-Google-Smtp-Source: ABdhPJz1x4Guo8tYzIZoI4ndIiqnmTYYDhg7oXDztb1MTIaxshRu7wqh8SjPm3RxzonMzKaIlmrQDA== X-Received: by 2002:a05:6122:2005:: with SMTP id l5mr30465590vkd.4.1639375466565; Sun, 12 Dec 2021 22:04:26 -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 b13sm3771494vkn.38.2021.12.12.22.04.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:26 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:53 -0500 Message-Id: <20211213060107.129223-32-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211213060107.129223-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> <20211213060107.129223-1-philip@philipmcgrath.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 bdfe71a1f3..021bc81403 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -842,3 +842,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 + `(("node-file-uri-to-path" ,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)))