packages: browser-extensions: Add dark-reader/chromium

main
Luis Guilherme Coelho 2024-11-04 12:24:57 -03:00
parent 74fabbb8c0
commit d555ff2bff
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
(define-module (radix packages browser-extensions)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system copy)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu build chromium-extension))
(define darkreader
(package
(name "darkreader")
(version "4.9.65")
(home-page "https://github.com/darkreader/darkreader")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append home-page "/releases/download/"
"v" version "/" name "-chrome.zip"))
(sha256
(base32
"12nbd1b33r0jpgdk9zmngria2f7naxm4ahk23chmqja4bsisgd2v"))))
(build-system copy-build-system)
(synopsis "Dark Reader analyzes web pages and aims to reduce eyestrain while
browsing the web.")
(description "Dark Reader is an open-source MIT-licensed browser extension
designed to analyze web pages. Dark Reader will generate a dark mode that
aims to reduce the eyestrain of the user. Dark Reader is feature-rich
and is customizable in many ways throughout the UI.")
(license license:expat)))
(define-public darkreader/chromium
(make-chromium-extension darkreader))