Archived
1
0
Fork 0

gnu: emacs-modus-themes: Update to 2.7.1.

* gnu/packages/emacs-xyz.scm (emacs-modus-themes): Update to 2.7.1.
This commit is contained in:
Nicolas Goaziou 2022-10-04 13:31:40 +02:00
parent 5e8221822e
commit df5a021f66
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -29398,36 +29398,39 @@ Emacs that integrate with major modes like Org-mode.")
(license license:expat))) (license license:expat)))
(define-public emacs-modus-themes (define-public emacs-modus-themes
(package ;; XXX: Upstream did not tag latest version bump, so we use the commit
(name "emacs-modus-themes") ;; matching that bump.
(version "2.6.0") (let ((commit "0b42e595fb8c1753039277ab0b068d0f4f107edf"))
(source (package
(origin (name "emacs-modus-themes")
(method git-fetch) (version "2.7.1")
(uri (git-reference (source
(url "https://git.sr.ht/~protesilaos/modus-themes") (origin
(commit version))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://git.sr.ht/~protesilaos/modus-themes")
(base32 "1zl1gd3jlkanjmlsxmwhqaiwyblp6kzznfjnw9cq8ah2390y9n1c")))) (commit commit)))
(native-inputs (list texinfo)) (file-name (git-file-name name version))
(build-system emacs-build-system) (sha256
(arguments (base32 "0iy1psfkhqf9a47pabl1w108niw2d4xnfvlcql2j58qlv5k9h1z7"))))
(list (native-inputs (list texinfo))
#:phases (build-system emacs-build-system)
#~(modify-phases %standard-phases (arguments
(add-after 'install 'makeinfo (list
(lambda _ #:phases
(invoke "emacs" #~(modify-phases %standard-phases
"--batch" (add-after 'install 'makeinfo
"--eval=(require 'ox-texinfo)" (lambda _
"--eval=(find-file \"doc/modus-themes.org\")" (invoke "emacs"
"--eval=(org-texinfo-export-to-info)") "--batch"
(install-file "doc/modus-themes.info" (string-append #$output "/share/info"))))))) "--eval=(require 'ox-texinfo)"
(home-page "https://protesilaos.com/modus-themes/") "--eval=(find-file \"doc/modus-themes.org\")"
(synopsis "Accessible themes (WCAG AAA)") "--eval=(org-texinfo-export-to-info)")
(description (install-file "doc/modus-themes.info" (string-append #$output "/share/info")))))))
"The Modus themes are designed for accessible readability. They conform (home-page "https://protesilaos.com/modus-themes/")
(synopsis "Accessible themes (WCAG AAA)")
(description
"The Modus themes are designed for accessible readability. They conform
with the highest standard for color contrast between any given combination of with the highest standard for color contrast between any given combination of
background and foreground values. This corresponds to the WCAG AAA standard, background and foreground values. This corresponds to the WCAG AAA standard,
which specifies a minimum rate of distance in relative luminance of 7:1. which specifies a minimum rate of distance in relative luminance of 7:1.
@ -29436,8 +29439,8 @@ Modus Operandi (modus-operandi) is a light theme, while Modus
Vivendi (modus-vivendi) is dark. Each themes color palette is designed to Vivendi (modus-vivendi) is dark. Each themes color palette is designed to
meet the needs of the numerous interfaces that are possible in the Emacs meet the needs of the numerous interfaces that are possible in the Emacs
computing environment.") computing environment.")
(license (list license:gpl3+ (license (list license:gpl3+
license:fdl1.3+)))) ; GFDLv1.3+ for the manual license:fdl1.3+))))) ; GFDLv1.3+ for the manual
(define-public emacs-punpun-theme (define-public emacs-punpun-theme
(let ((commit "7026684cd568cb691af3ced5de14c375fe6f5a1a") (let ((commit "7026684cd568cb691af3ced5de14c375fe6f5a1a")