diff options
author | Clément Lassieur <clement@lassieur.org> | 2023-11-12 02:23:54 +0100 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2023-12-27 12:13:10 +0100 |
commit | 756ba0429e84ee0f8ce30484439b78c00c61d286 (patch) | |
tree | 3b4fc9fc130a2c49f9dcee17ae8c0daa06907478 /gnu/packages/browser-extensions.scm | |
parent | 5bd80ccd69047b1777749e24d4adf2c951b5d14b (diff) |
gnu: Add torbrowser.
* 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 <nandre@riseup.net>
Change-Id: I73dc53905e4a028108bb34aae07e44256cf16c85
Diffstat (limited to 'gnu/packages/browser-extensions.scm')
-rw-r--r-- | gnu/packages/browser-extensions.scm | 26 |
1 files changed, 26 insertions, 0 deletions
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)) |