From patchwork Thu Dec 30 07:39:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 36016 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 0C53727BBEA; Thu, 6 Jan 2022 18:26:33 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS 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 D263727BBE9 for ; Thu, 6 Jan 2022 18:26:32 +0000 (GMT) Received: from localhost ([::1]:41992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5XT5-0007bN-Qq for patchwork@mira.cbaines.net; Thu, 06 Jan 2022 13:26:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5XSm-0007Tu-KU for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5XSm-00013b-2e for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5XSl-00057d-VH for guix-patches@gnu.org; Thu, 06 Jan 2022 13:26:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v8 27/41] gnu: Add node-bindings. References: <20211114124151.36743-1-philip@philipmcgrath.com> In-Reply-To: <20211114124151.36743-1-philip@philipmcgrath.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 18:26:11 +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: Philip McGrath Cc: 51838@debbugs.gnu.org, Timothy Sample , Pierre Langlois , Jelle Licht , Leo Famulari Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164149351919318 (code B ref 51838); Thu, 06 Jan 2022 18:26:11 +0000 Received: (at 51838) by debbugs.gnu.org; 6 Jan 2022 18:25:19 +0000 Received: from localhost ([127.0.0.1]:42245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRv-00051O-3N for submit@debbugs.gnu.org; Thu, 06 Jan 2022 13:25:19 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5XRL-0004uz-MO for 51838@debbugs.gnu.org; Thu, 06 Jan 2022 13:24:44 -0500 Received: by mail-wr1-f66.google.com with SMTP id r17so6522662wrc.3 for <51838@debbugs.gnu.org>; Thu, 06 Jan 2022 10:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=/woAOHaNZMIaVEJlRWfgV52Fs2xoXLHap84TrS3PZj0=; b=POZwcZquRkQcto6wcwFUEqsdjkgaaUHqfT04X4CpMpHf9x6ykRxq9/7Q5TU1Xb9Pup L6vaceP12eTETYtekZ4n86cg69IRGuvXWfSl1k1BoWv5b8XxJaD3600iYfByB6jLJjX7 ztGAKqSW17/QriVamUlujccheO9dJLSapUa+XmG48i20OQ9cxANj9slStPVtG79fRwGP U0cEiWMQiwfFYRS0Q1FM2hZTtekUmztr4KKLjeArmW5ADfdPG1bHehYoq0UHjd/lzuEj WiTn9o8J+lnr4MuNNyHi4dYOVqEOIORYun5RRTqohMdWdCpdalLmILZ2fZwuakAhV1s8 qXlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=/woAOHaNZMIaVEJlRWfgV52Fs2xoXLHap84TrS3PZj0=; b=qpCmncSEPFXgXpunXhU/iTALIqzxeqG8FzVuJqe60zf00omMWRW08BDW1dOLXblgTh 1PmeTZVokDmlZKm7jyBLplqrxNAxadC1u08oc/unNVQxQFXzj9BKtZLTXDEzH/ToFZF/ TE0IJo4Kj5JSjd6+dH5AdBkeRBgaufLc/GwZ4cKcmlnRCZqmowot2ZpGQIUnLCcebbsB dFa9wOJtOiJOVVYiaWqxRijL07v/s75iQfZElai7O7i2xENzf3fG0ElFgCHer+/28nIB jIqLpSK8yN+CbnvTdSAkya8UxNgxdhtZhRR5tz0650rs3rochkvyUyfmxujDNzPZ2LLU eYtw== X-Gm-Message-State: AOAM5338gpt+XePRj9IOC5D9Elp/pFfRD7NSc2ro4yUG/rJh2Gc8W17+ ujskWLeF0HK2pYN+GEAh5sQ= X-Google-Smtp-Source: ABdhPJzJZGicOmhdD9YprxN4gTW24cpAutXZaKmM0DnViQ9CZZ8d190t3eCVIhvFgKL/LnCRriObIA== X-Received: by 2002:a05:6000:22a:: with SMTP id l10mr51018461wrz.39.1641493478234; Thu, 06 Jan 2022 10:24:38 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id b17sm2693311wrq.91.2022.01.06.10.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 10:24:37 -0800 (PST) From: Liliana Marie Prikler Date: Thu, 30 Dec 2021 02:39:05 -0500 Message-ID: <39cc8361abe7e6f18354fc3ce5b9d433c1344d59.camel@gmail.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. Signed-off-by: Liliana Marie Prikler --- 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 d3dc7c0b2b..df4342a3bf 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -863,3 +863,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)))