From patchwork Tue Jun 14 09:49:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 39996 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 C82C327BBEA; Tue, 14 Jun 2022 10:52:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 46C5627BBE9 for ; Tue, 14 Jun 2022 10:52:53 +0100 (BST) Received: from localhost ([::1]:47260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o13EC-00011V-DA for patchwork@mira.cbaines.net; Tue, 14 Jun 2022 05:52:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13CU-0000E3-4q for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o13CT-00024q-Sc for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o13CT-0002vE-Rw for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55965] [PATCH 8/9] gnu: Add node-crx3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Jun 2022 09:51:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55965 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55965@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165520024711101 (code B ref -1); Tue, 14 Jun 2022 09:51:05 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 09:50:47 +0000 Received: from localhost ([127.0.0.1]:32977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13CB-0002su-2d for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:53458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13C6-0002sA-LB for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13C6-0008NY-BV for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:42 -0400 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:58849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13C3-00020y-MH for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:42 -0400 Received: from player746.ha.ovh.net (unknown [10.110.208.120]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 19FA224961 for ; Tue, 14 Jun 2022 09:50:38 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player746.ha.ovh.net (Postfix) with ESMTPSA id B00F31E2E0C78; Tue, 14 Jun 2022 09:50:35 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-109S003c01fc50b-f414-4fe4-8234-6cb4d53ae47c, F2255CAF11B24C4280F910282C1ED9962B83CC59) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 176.166.159.77 Date: Tue, 14 Jun 2022 11:49:53 +0200 Message-Id: <20220614094954.15197-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614094954.15197-1-ngraves@ngraves.fr> References: <20220614094954.15197-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6480116916077781730 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudduledgvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejgeeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedt Received-SPF: pass client-ip=46.105.58.226; envelope-from=ngraves@ngraves.fr; helo=3.mo560.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-crx3): New variable. --- gnu/packages/node-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 8ec014eee8..79594856f1 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -109,6 +109,46 @@ (define-public node-color-name "This package provides a JSON list with color names and their values.") (license license:expat))) +(define-public node-crx3 + (package + (name "node-crx3") + (version "1.1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ahwayakchih/crx3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1snqyw8c3s9p2clhqh1172z0rs1was36sfxkk6acgpar32c2rwzw")))) + (build-system node-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'check) + (add-after 'unpack 'replace-mri-by-minimist + (lambda _ + (substitute* "package.json" + (("\"mri\": \"\\^1.1.6\",") "\"minimist\": \"^1.2.6\",")) + (substitute* "lib/configuration.js" + (("mri") "minimist")) + #t)) + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke (string-append (assoc-ref inputs "node") "/bin/npm") + "--offline" "--ignore-scripts" "install" "--production") + #t))))) + (inputs (list node-minimist node-pbf node-yazl)) + (home-page "https://github.com/ahwayakchih/crx3") + (synopsis "Create web extension files for Chromium and all other browsers +supporting the file format and API") + (description "This package creates web extension files (CRXv3) for Chromium +versions 64.0.3242 and above and all other browsers supporting the file format +and API.") + (license license:bsd-3))) + (define-public node-env-variable (package (name "node-env-variable")