From patchwork Fri Dec 17 02:03:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35341 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 55A3727BBEA; Fri, 17 Dec 2021 02:09:32 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 1888727BBE9 for ; Fri, 17 Dec 2021 02:09:32 +0000 (GMT) Received: from localhost ([::1]:60086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2gd-0001Uo-AF for patchwork@mira.cbaines.net; Thu, 16 Dec 2021 21:09:31 -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 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 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)))