From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uLTBKybX12IrRAAAbAwnHQ (envelope-from ) for ; Wed, 20 Jul 2022 12:21:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cAOiKybX12KpfAEAauVa8A (envelope-from ) for ; Wed, 20 Jul 2022 12:21:26 +0200 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 71F7B113B3 for ; Wed, 20 Jul 2022 12:21:26 +0200 (CEST) Received: from localhost ([::1]:38438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE6pZ-0004D1-K4 for larch@yhetil.org; Wed, 20 Jul 2022 06:21:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE6pP-0004Ct-UI for guix-patches@gnu.org; Wed, 20 Jul 2022 06:21:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE6pB-0006Gg-QK for guix-patches@gnu.org; Wed, 20 Jul 2022 06:21:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE6pB-000856-MP for guix-patches@gnu.org; Wed, 20 Jul 2022 06:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55965] [PATCH] gnu: Add node-crx3. References: <20220614094954.15197-8-ngraves@ngraves.fr> In-Reply-To: <20220614094954.15197-8-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55965 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55965@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 55965-submit@debbugs.gnu.org id=B55965.165831244731036 (code B ref 55965); Wed, 20 Jul 2022 10:21:01 +0000 Received: (at 55965) by debbugs.gnu.org; 20 Jul 2022 10:20:47 +0000 Received: from localhost ([127.0.0.1]:55913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE6ow-00084U-Ls for submit@debbugs.gnu.org; Wed, 20 Jul 2022 06:20:46 -0400 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]:59621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE6ou-00084D-7b for 55965@debbugs.gnu.org; Wed, 20 Jul 2022 06:20:45 -0400 Received: from player692.ha.ovh.net (unknown [10.108.20.214]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 9404724A45 for <55965@debbugs.gnu.org>; Wed, 20 Jul 2022 10:20:42 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player692.ha.ovh.net (Postfix) with ESMTPSA id 99A452CA78AF1; Wed, 20 Jul 2022 10:20:38 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Wed, 20 Jul 2022 12:20:34 +0200 Message-Id: <20220720102034.16652-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 15490412394598425314 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudelvddgvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheiledvrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehleeiheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhe 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658312486; 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=Byx17FiMk7G5aeXrWAgdr7y3SUII1KTtHTp4Npomfew=; b=OoJEiyBNF7YTUmo8KawpuOy8IZ7MAa0c2FnZQkww91zZge6+scrdO6pgOVzsLmbIwwvNww RDhBUmf9MUiU7+IY3Y25OdFwJ3jbdJjMTfCE6Yc+4x9zjrEcO+6GZFObyF0rQ4LOZyoinF Lc/ddDBz5PkH0iBKnA9ebPNigN8snYEmOfgepL1h7OQuLzebFpco/GingYBG/o5ulCEbDW 8PBL2DcdDMB8Etv64rP9lO11h9N08WbcXRfW1U76pbzwqKl7kUofOvzaj40OFoRK9bZYy7 hGEjLMy7+N36DjrTYnw7OpGF54L4a/6BGdpVynm4TpOopnQP5Kp3MH+H+bKRag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658312486; a=rsa-sha256; cv=none; b=M3ol704bYA/NL+03zcjq5K2dfmvEouNVZZu91tPIoDab+9OLR03WtmhEN2QNjGI/eMbbYz xn6fBW68FUIZFjIvTdPX7EJsAkABHWeA+GC7ioJb111dpOnrMk+6q3j6CWzy+/KsdlPTUh KdcNUgCei804nm6MdDzF5QHWW7NsM/k5oxb1CfoPhtKiqr2umi59v5YJzTOQqSJbiUzz16 eXIBEniiHIx/YlStK34olvckC2AUv9XhzQX0gYJDipBDW17MNDEMgpkI9rg88LVuwizGi9 r92c+t00az02JRN+YOMHkXLmfUB1llBmXTq9V6WWcROGEcRxVP0CJPKxQEl/Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 71F7B113B3 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: qUw9+SQR+g+V * gnu/packages/node-xyz.scm (node-crx3): New variable. --- gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index ff3bd9084f..7c506afe41 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -108,6 +108,45 @@ (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 + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (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")))) + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke "npm" "--offline" + "--ignore-scripts" "install" "--production")))))) + (inputs (list node-minimist node-pbf node-yazl)) + (home-page "https://github.com/ahwayakchih/crx3") + (synopsis "Create CRXv3 browser extensions with Javascript") + (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") -- 2.37.0