From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UIWdLUCGv2XaagAAe85BDQ:P1 (envelope-from ) for ; Sun, 04 Feb 2024 13:42:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UIWdLUCGv2XaagAAe85BDQ (envelope-from ) for ; Sun, 04 Feb 2024 13:42:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707050560; h=from:from:sender:sender:reply-to: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; bh=cJ+dvLdyMSTkE3cfHG59AzKMMiX4/1vOSmcIu/lmz98=; b=c01ob6u2KaQGwWdJS1yoT/qurq4ONYOjBJo3hAzCp6+6bFGbnmeCkaqBwCb1AlloJD7xtm zgFs68iuzfwz2YbYAfum/3etXzXTbRdqw+0OZEOQeekTdgXlRGWDcCYPkhbdVyhD4a28oa yLU1OYq2qUSs3g0cRxRa6clLqwUcbUE3v/GzIpWm216EglmHrBXw4kAojEHWPK/lhiBw8e KdVUAtreeq5lR29gkA3B5aaU1BFmu7HQRpjX/BcAME0xbOMlynvrw6AblsWBRxYKv308y+ /PUdU++O5ofjnw81+f8vRE5jGxr/zwp+7J9PIV03afX+8j/GCR5CWB+1EL3lfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707050560; a=rsa-sha256; cv=none; b=ARzVxk35zw+XrwyJs1KyTZvqF26Te8bg5k4cGuRFfMu3DKvhqAo7va5xV0CPZ8ztHRhOZO pxxmmyWrmr4CAfMnn+JyDKSENT7L9L4S5nsN9uOEmGvQGO3ozqLeVsgxkGKHHhuPc5mZs8 VBUQH9NTr1B+fPQrAcltATyDyKesUCBpMMF+mje+Kq/C+yD9i4I9VFrwrJ/A+19v13F8BA YK+gwnenev4SNsjpERL7NHYjIAIJs4MQCydSrcv+/U64fCJAT+DBfD87lY3fU9Qaju0Tbb tZIHdXcfTj6eyIesEg4oGEwUciE8qXDv6tHBiMJBXmf31cIJrrm+iMrE4CmYQw== 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 aspmx1.migadu.com (Postfix) with ESMTPS id 82E3A41266 for ; Sun, 4 Feb 2024 13:42:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWbp2-0006w2-IV; Sun, 04 Feb 2024 07:42:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWbom-0006qh-Ku for guix-patches@gnu.org; Sun, 04 Feb 2024 07:41:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWbom-0007HW-C3 for guix-patches@gnu.org; Sun, 04 Feb 2024 07:41:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWboy-0006wG-7t for guix-patches@gnu.org; Sun, 04 Feb 2024 07:42:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66180] [PATCH v2 11/20] gnu: node-addon-api: Move package in alphabetical order. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 12:42:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66180@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 66180-submit@debbugs.gnu.org id=B66180.170705047326506 (code B ref 66180); Sun, 04 Feb 2024 12:42:04 +0000 Received: (at 66180) by debbugs.gnu.org; 4 Feb 2024 12:41:13 +0000 Received: from localhost ([127.0.0.1]:48333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWbo8-0006tP-B9 for submit@debbugs.gnu.org; Sun, 04 Feb 2024 07:41:12 -0500 Received: from 2.mo584.mail-out.ovh.net ([46.105.72.36]:35983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWbo0-0006qy-Sx for 66180@debbugs.gnu.org; Sun, 04 Feb 2024 07:41:05 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.17.160]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 9777427752 for <66180@debbugs.gnu.org>; Sun, 4 Feb 2024 12:40:51 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-v4x8g (unknown [10.110.113.80]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 55A831FDF1; Sun, 4 Feb 2024 12:40:51 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-v4x8g with ESMTPSA id DKhqENOFv2UqBSAAMkK8pw (envelope-from ); Sun, 04 Feb 2024 12:40:51 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Sun, 4 Feb 2024 13:40:21 +0100 Message-ID: <20240204124035.994-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240204124035.994-1-ngraves@ngraves.fr> References: <20240204124035.994-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9643051229191070434 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedukedggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeiudektdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.66 X-Migadu-Queue-Id: 82E3A41266 X-Spam-Score: -6.66 X-Migadu-Scanner: mx11.migadu.com X-TUID: QZlCAYJN7y9H * gnu/packages/node-xyz.scm (node-addon-api): Move package in alphabetical order. --- gnu/packages/node-xyz.scm | 164 +++++++++++++++++++------------------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 250816c04a..c472b4d8b8 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -107,6 +107,88 @@ (define-public node-acorn architecture supporting plugins.") (license license:expat))) +(define-public node-addon-api + (package + (name "node-addon-api") + (version "4.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nodejs/node-addon-api") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1bhvfi2m9nxfz418s619914vmidcnrzbjv6l9nid476c3zlpazch")))) + (inputs + (list python node-safe-buffer)) + (build-system node-build-system) + (arguments + `(#:modules + ((guix build node-build-system) + (srfi srfi-1) + (ice-9 match) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies + `("benchmark" + "bindings" + "clang-format" + "eslint" + "eslint-config-semistandard" + "eslint-config-standard" + "eslint-plugin-import" + "eslint-plugin-node" + "eslint-plugin-promise" + "fs-extra" + "path" + "pre-commit")))) + (add-after 'unpack 'skip-js-tests + ;; We can't run the js-based tests, + ;; but we can still do the C++ parts + (lambda args + (define new-test-script + "echo stopping after pretest on Guix") + (with-atomic-json-file-replacement "package.json" + (match-lambda + (('@ . pkg-meta-alist) + (cons + '@ + (map (match-lambda + (("scripts" '@ . scripts-alist) + `("scripts" @ ,@(map (match-lambda + (("test" . _) + (cons "test" + new-test-script)) + (other + other)) + scripts-alist))) + (other + other)) + pkg-meta-alist)))))))))) + (home-page "https://github.com/nodejs/node-addon-api") + (synopsis "Node.js API (Node-API) header-only C++ wrappers") + (description "This module contains header-only C++ wrapper classes which +simplify the use of the C based Node-API provided by Node.js when using C++. +It provides a C++ object model and exception handling semantics with low +overhead. + +Node-API is an ABI stable C interface provided by Node.js for building native +addons. It is intended to insulate native addons from changes in the +underlying JavaScript engine and allow modules compiled for one version to run +on later versions of Node.js without recompilation. The @code{node-addon-api} +module, which is not part of Node.js, preserves the benefits of the Node-API +as it consists only of inline code that depends only on the stable API +provided by Node-API. + +It is important to remember that @emph{other} Node.js interfaces such as +@code{libuv} (included in a project via @code{#include }) are not +ABI-stable across Node.js major versions.") + (license license:expat))) + (define-public node-bindings (package (name "node-bindings") @@ -1018,88 +1100,6 @@ (define-public node-path-key particular cross-platform spellings of the PATH environment variable key.") (license license:expat))) -(define-public node-addon-api - (package - (name "node-addon-api") - (version "4.2.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/nodejs/node-addon-api") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1bhvfi2m9nxfz418s619914vmidcnrzbjv6l9nid476c3zlpazch")))) - (inputs - (list python node-safe-buffer)) - (build-system node-build-system) - (arguments - `(#:modules - ((guix build node-build-system) - (srfi srfi-1) - (ice-9 match) - (guix build utils)) - #:phases - (modify-phases %standard-phases - (add-after 'patch-dependencies 'delete-dependencies - (lambda args - (delete-dependencies - `("benchmark" - "bindings" - "clang-format" - "eslint" - "eslint-config-semistandard" - "eslint-config-standard" - "eslint-plugin-import" - "eslint-plugin-node" - "eslint-plugin-promise" - "fs-extra" - "path" - "pre-commit")))) - (add-after 'unpack 'skip-js-tests - ;; We can't run the js-based tests, - ;; but we can still do the C++ parts - (lambda args - (define new-test-script - "echo stopping after pretest on Guix") - (with-atomic-json-file-replacement "package.json" - (match-lambda - (('@ . pkg-meta-alist) - (cons - '@ - (map (match-lambda - (("scripts" '@ . scripts-alist) - `("scripts" @ ,@(map (match-lambda - (("test" . _) - (cons "test" - new-test-script)) - (other - other)) - scripts-alist))) - (other - other)) - pkg-meta-alist)))))))))) - (home-page "https://github.com/nodejs/node-addon-api") - (synopsis "Node.js API (Node-API) header-only C++ wrappers") - (description "This module contains header-only C++ wrapper classes which -simplify the use of the C based Node-API provided by Node.js when using C++. -It provides a C++ object model and exception handling semantics with low -overhead. - -Node-API is an ABI stable C interface provided by Node.js for building native -addons. It is intended to insulate native addons from changes in the -underlying JavaScript engine and allow modules compiled for one version to run -on later versions of Node.js without recompilation. The @code{node-addon-api} -module, which is not part of Node.js, preserves the benefits of the Node-API -as it consists only of inline code that depends only on the stable API -provided by Node-API. - -It is important to remember that @emph{other} Node.js interfaces such as -@code{libuv} (included in a project via @code{#include }) are not -ABI-stable across Node.js major versions.") - (license license:expat))) - (define-public node-sqlite3 (package (name "node-sqlite3") -- 2.41.0