From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eP65H3Wo/WDAQgAAgWs5BA (envelope-from ) for ; Sun, 25 Jul 2021 20:07:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uNE3G3Wo/WDAZAAAB5/wlQ (envelope-from ) for ; Sun, 25 Jul 2021 18:07:49 +0000 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 DAC94C60B for ; Sun, 25 Jul 2021 20:07:48 +0200 (CEST) Received: from localhost ([::1]:51458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7iXU-0007kT-2G for larch@yhetil.org; Sun, 25 Jul 2021 14:07:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7iUo-0007Qi-HS for guix-patches@gnu.org; Sun, 25 Jul 2021 14:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7iUo-0003Jz-AU for guix-patches@gnu.org; Sun, 25 Jul 2021 14:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7iUo-0002pl-6C for guix-patches@gnu.org; Sun, 25 Jul 2021 14:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49582] [PATCH] gnu: Add tosdr-chromium. Resent-From: Justin Veilleux Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Jul 2021 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49582 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49582@debbugs.gnu.org Received: via spool by 49582-submit@debbugs.gnu.org id=B49582.162723627310823 (code B ref 49582); Sun, 25 Jul 2021 18:05:02 +0000 Received: (at 49582) by debbugs.gnu.org; 25 Jul 2021 18:04:33 +0000 Received: from localhost ([127.0.0.1]:49346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7iUK-0002oU-Jx for submit@debbugs.gnu.org; Sun, 25 Jul 2021 14:04:32 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:34330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7iUI-0002oG-6m for 49582@debbugs.gnu.org; Sun, 25 Jul 2021 14:04:31 -0400 Received: by mail-qt1-f171.google.com with SMTP id a19so5495025qtx.1 for <49582@debbugs.gnu.org>; Sun, 25 Jul 2021 11:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=svzAzEQzPT5K72vCeXsebDKQVOtdiyJom4CA+zXH4tE=; b=Sba7XGfF6/BJAZCOwRvKhYgcoyHTQch2zEf3ZeLuT6ucoERzvB2bH3j51RBJL/BtlV LXUzsH0RK7K/Hx4Oh2TXZVAyqTqcLNYgxu/SKRkcvP7PPeFLAZC0KO3nvbe3vZrFcqYy xno9HLrUB82Ulf79yxTfua0RZW39QA6k6Ml3QmY60arxrK3MVh4aDaKlyKaQLuxbb4+O n8ZIqK2+V9PjRfcXouzoJtI3k2XlV/SXzEgwtbGNZ0QF/PKEd/OhyHInNPDYqZhXq6F3 MnaX5TuHPKe+4J0jayL3JPkIl2wd3wb/QME1CQTLf4xjFGI6sABTq6/DRpNrg9vE5SXg 8CWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=svzAzEQzPT5K72vCeXsebDKQVOtdiyJom4CA+zXH4tE=; b=MIy1buqFGoF55DzCesua+N9vRwgv2iI8Z2qmqa7AlH0TyH+rWW/lxVDc6MoO7IAaF5 LCd+e0K81OvdeqfJ/80PM23eaCWciL7jLuAnxpHoZFDaP3h1BEJVEwf9IkgHBMZH6rmT 2wwNAXUPboTdDB1lYipt24zcJhefB5pdNJJr5xTFpJNycyGg/IzebN85tZ7D+jqg/tGl Gy6hfGihM/FqkQGPt5hyCW7Wp2hLs4p7Rph49Y7ikukXdn7baiIr+Qe9jnF8jCXKh4lO tgIwQHJguZRhdZOW++0+XojtgenbubQ084MdZT2oPY7YyWjVOJ5QIT0Ef6wuCioigYD9 Z7WA== X-Gm-Message-State: AOAM5312Nh+PLJ5uCZsqYNcNsVL0piDEmlGHiPLah1snh10vd9UvsmWr YSN6xkfCtgsxtwSdT6MxgVWYVsAWl2206Q== X-Google-Smtp-Source: ABdhPJyhTYlO3ujc3Ylj4YzLXld2vY1S5v9EoPdD55Obgk4grQJ+ymo1/URFwKUUXb+cbzIN3HQRzg== X-Received: by 2002:ac8:dc9:: with SMTP id t9mr12187643qti.293.1627236264468; Sun, 25 Jul 2021 11:04:24 -0700 (PDT) Received: from [10.0.0.137] (modemcable232.217-160-184.mc.videotron.ca. [184.160.217.232]) by smtp.gmail.com with ESMTPSA id ay31sm7720112qkb.41.2021.07.25.11.04.23 for <49582@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jul 2021 11:04:23 -0700 (PDT) References: From: Justin Veilleux Message-ID: <236d4a8f-b911-8242-5e09-9ccb07981592@gmail.com> Date: Sun, 25 Jul 2021 14:04:22 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------D468870D28BF60330C06D471" Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 25 Jul 2021 14:07:39 -0400 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627236469; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=svzAzEQzPT5K72vCeXsebDKQVOtdiyJom4CA+zXH4tE=; b=glf3NZsaPXx7zDPg7Z6u8vMvelfsP/cQZhQB6KVvjFUwj4SY8TPiK+cruOREXJgsGB7q2q VKIDDtcXSbQAMZtW/xodDLBbjglvBTHR8GawanOJTqszJSahdVttKcQjnLCxFwUgzOh7DU 8yQJXKNHnAChQ6+j9NvCJOrV19Fj+xL4O/fy3cHvINLDHRXxi+xsJ91JuVsspMtOGW+il8 5PQIA54FiUTX8YauyimQ3Yd3ZKVgzpherFNciL/dxJEF8e6mNjZU8oWjJpxmz9+IKX39Le 3MI5r/6rGYrO5JMs9SIbP8Q6+A4tE/+cw+Enda52kfLk87YMsjWlJSk5P6B++Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627236469; a=rsa-sha256; cv=none; b=ST6/aHXj3i04aObjetRFXwjqgsFneIgGtLdYJJF+3RZgs2Q6Q96/dL5D5twYp04Cbg3Y/9 o9WJlDSqLCFYlPhMoAguzG3bzcUyH41WhnbSKfBQqra6eohDS0Pn1xgiIXwzoaceNWFVEG ziN0bgC7vbpil/qwgH7X5jwL49m8B+fnE9vEocwT36ulvhPoTKNTOc0g+X3m6w+WZsJI7w 5wHgJcWWjgY/bNSfdJ+dmUm05yeA8/J9aRle7EA4DOlITZbngnZFG9S0tOP0+7osepGGox Heo0WeRE379Pnm3rRfNEQa6Wb7/q6GWDxXHOx/V20imZhWdPF5xQtOXO3okToA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Sba7XGfF; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Sba7XGfF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DAC94C60B X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Gm99EmgOBDzr This is a multi-part message in MIME format. --------------D468870D28BF60330C06D471 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit oops. I forgot to fix the tabs. --------------D468870D28BF60330C06D471 Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-Add-tosdr-chromium.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-gnu-Add-tosdr-chromium.patch" >From bc5f008f967d918013255a905ef2e8bfd10cb28a Mon Sep 17 00:00:00 2001 From: terramorpha Date: Sun, 25 Jul 2021 13:04:49 -0400 Subject: [PATCH] gnu: Add tosdr-chromium. * gnu/packages/browser-extensions.scm (tosdr, tosdr-chromium): New variables. --- gnu/packages/browser-extensions.scm | 50 ++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index a6120baf96..b9fb464b7a 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020, 2021 Marius Bakke +;;; Copyright © 2021 Justin Veilleux ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,10 +22,14 @@ #:use-module (guix git-download) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu build chromium-extension) #:use-module (gnu packages compression) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages node)) (define play-to-kodi (package @@ -121,3 +126,46 @@ ungoogled-chromium.") (define-public ublock-origin/chromium (make-chromium-extension ublock-origin "chromium")) + +(define tosdr + (package + (name "tosdr") + (version "4.1.1") + (source + (origin + (uri + (git-reference + (url "https://github.com/tosdr/browser-extensions.git") + (commit version))) + (sha256 + (base32 "0wz31f9rz087yw1a7cdhdgqvgnhbk569jywv846n122m4bpk3yw0")) + (method git-fetch))) + (native-inputs + `(("bash" ,bash-minimal) + ("coreutils" ,coreutils-minimal) + ("node" ,node) + ("zip" ,zip) + ("unzip" ,unzip))) + (arguments + `(#:builder + (begin + (use-modules (guix build utils)) + (set-path-environment-variable "PATH" + '("bin") + (map cdr %build-inputs)) + (copy-recursively (assoc-ref %build-inputs "source") ".") + (invoke "sh" "./build.sh") + (invoke "unzip" "dist/chrome.zip" "-d" %output) + #t) + #:modules ((guix build utils)))) + (build-system trivial-build-system) + (synopsis "extension to inform of the important aspects of the terms and +conditions of a web service") + (description "This extension informs you instantly of your rights online by +showing an unintrusive icon in the toolbar. You can click on this icon to get +summaries from the Terms of Service; Didn't Read initiative.") + (license license:agpl3) + (home-page "https://tosdr.org/"))) + +(define-public tosdr-chromium + (make-chromium-extension tosdr)) -- 2.32.0 --------------D468870D28BF60330C06D471--