From 756ba0429e84ee0f8ce30484439b78c00c61d286 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Sun, 12 Nov 2023 02:23:54 +0100 Subject: gnu: Add torbrowser. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tor.scm (torbrowser): New variable. (torbrowser-assets): New variable. * gnu/packages/browser-extensions.scm (noscript): New variable. (noscript/icecat): New variable. Co-authored-by: André Batista Change-Id: I73dc53905e4a028108bb34aae07e44256cf16c85 --- gnu/packages/browser-extensions.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/browser-extensions.scm') diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index 34dfa4b580..28b62ec9e3 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -21,6 +21,7 @@ (define-module (gnu packages browser-extensions) #:use-module (guix gexp) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) @@ -251,3 +252,28 @@ with the @uref{https://keepassxc.org, KeePassXC} password manager.") (define-public keepassxc-browser/icecat (make-icecat-extension keepassxc-browser)) + +(define noscript + (package + (name "noscript") + (version "11.4.29") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append + "https://noscript.net/download/releases/noscript-" version + ".xpi")) + (sha256 + (base32 + "1k94zvv2ypmhc29f5d2zrvigwh1xgi5kwm1kqfxarwjyn108if85")))) + (build-system copy-build-system) + (properties '((addon-id . "{73a6fe31-595d-460b-a920-fcc0f8843232}"))) + (arguments + `(#:install-plan '(("." ,(assq-ref properties 'addon-id))))) + (home-page "https://noscript.net") + (synopsis "Software providing extra protection for various browsers.") + (description "The NoScript Security Suite is a software providing extra +protection for web browsers.") + (license license:gpl3+))) + +(define-public noscript/icecat + (make-icecat-extension noscript)) -- cgit 1.4.1