From patchwork Sat Jun 4 08:28:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony X-Patchwork-Id: 39739 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 5A3CE27BBEA; Sat, 4 Jun 2022 09:29:16 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 1EA2027BBE9 for ; Sat, 4 Jun 2022 09:29:16 +0100 (BST) Received: from localhost ([::1]:42972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxP9n-0007lh-6y for patchwork@mira.cbaines.net; Sat, 04 Jun 2022 04:29:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxP9a-0007lZ-JJ for guix-patches@gnu.org; Sat, 04 Jun 2022 04:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxP9a-0002Tj-AY for guix-patches@gnu.org; Sat, 04 Jun 2022 04:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxP9a-0006pp-6D for guix-patches@gnu.org; Sat, 04 Jun 2022 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55790] [PATCH 1/1] gnu: browser-extensions: add chromium-web-store References: <20220604010204.14054-1-burning2007@ya.ru> In-Reply-To: <20220604010204.14054-1-burning2007@ya.ru> Resent-From: burning2007@ya.ru Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jun 2022 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55790 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55790@debbugs.gnu.org Cc: Anthony Received: via spool by 55790-submit@debbugs.gnu.org id=B55790.165433130426223 (code B ref 55790); Sat, 04 Jun 2022 08:29:02 +0000 Received: (at 55790) by debbugs.gnu.org; 4 Jun 2022 08:28:24 +0000 Received: from localhost ([127.0.0.1]:57582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxP8y-0006ot-5P for submit@debbugs.gnu.org; Sat, 04 Jun 2022 04:28:24 -0400 Received: from forward102o.mail.yandex.net ([37.140.190.182]:58474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxP8u-0006oa-3v for 55790@debbugs.gnu.org; Sat, 04 Jun 2022 04:28:23 -0400 Received: from myt5-1892386aa303.qloud-c.yandex.net (myt5-1892386aa303.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4323:0:640:1892:386a]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 7DF126FF83E0; Sat, 4 Jun 2022 11:28:12 +0300 (MSK) Received: from myt5-69594d4a41fa.qloud-c.yandex.net (myt5-69594d4a41fa.qloud-c.yandex.net [2a02:6b8:c12:3ca5:0:640:6959:4d4a]) by myt5-1892386aa303.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 3FqQJ870QE-SCfKSC8k; Sat, 04 Jun 2022 11:28:12 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1654331292; bh=v5D8Kn29Ldgs9OlVxOemhJ+v/D4Usz0WCZknIa2o45o=; h=Date:Subject:Cc:To:From:Message-Id; b=DtApdGL1QskH1OsplGaIVjW/GeYJFvp3hHWkLGE5abvquWO6aGpnfeZGeAY2Lzo6e r9uvZ/eRSmsCfYT63IIXSSj94YqMciGf4Zh59wz0ZtHfjJrYMs14gCLJ6t+ucBtTgc 8WKsp3vpqidXyFBdOoxy9eF3fOLkbxRpt9iGy0Hc= Authentication-Results: myt5-1892386aa303.qloud-c.yandex.net; dkim=pass header.i=@ya.ru Received: by myt5-69594d4a41fa.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Q7rgIoYomL-SBNOJ8WS; Sat, 04 Jun 2022 11:28:11 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: burning2007@ya.ru Date: Sat, 4 Jun 2022 11:28:07 +0300 Message-Id: <20220604082807.18555-1-burning2007@ya.ru> X-Mailer: git-send-email 2.35.3 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 From: Anthony --- gnu/packages/browser-extensions.scm | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index f305552076..a413da8beb 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -109,3 +109,38 @@ (define ublock-origin (define-public ublock-origin/chromium (make-chromium-extension ublock-origin "chromium")) + +(define chromium-web-store + (package + (name "chromium-web-store") + (version "1.4.4.3") + (home-page "https://github.com/NeverDecaf/chromium-web-store") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17jp05dpd8lk8k7fi56jdbhiisx4ajylr6kax01mzfkwfhkd0q9d")))) + (build-system copy-build-system) + (outputs '("chromium")) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (copy-recursively "src" (assoc-ref outputs "chromium"))))))) + (synopsis "Allows adding extensions from chrome web store on ungoogled-chromium") + (description "This extension brings the following functionality to +ungoogled-chromium (and other forks that lack web store support): +@itemize +@item Allows installing extensions directly from chrome web store. +@item Automatically checks for updates to your installed extensions and displays +them on the badge. +@end itemize") + (license license:expat))) + +(define-public chromium-web-store/chromium + (make-chromium-extension chromium-web-store "chromium"))