me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/emacs-xyz.scm (emacs-modus-themes): Update to 3.0.0.
Nicolas Goaziou 2022-10-28 11:15:08 +02:00
parent 575790f5f5
commit 7d92434326
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 33 additions and 35 deletions

View File

@ -29514,39 +29514,37 @@ 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
;; XXX: Upstream did not tag latest version bump, so we use the commit (package
;; matching that bump. (name "emacs-modus-themes")
(let ((commit "0b42e595fb8c1753039277ab0b068d0f4f107edf")) (version "3.0.0")
(package (source
(name "emacs-modus-themes") (origin
(version "2.7.1") (method git-fetch)
(source (uri (git-reference
(origin (url "https://git.sr.ht/~protesilaos/modus-themes")
(method git-fetch) (commit version)))
(uri (git-reference (file-name (git-file-name name version))
(url "https://git.sr.ht/~protesilaos/modus-themes") (sha256
(commit commit))) (base32 "1468y1ra4w4ihq68mfvddyijppj5sz143aawzg2nxdzphy9a84l2"))))
(file-name (git-file-name name version)) (native-inputs (list texinfo))
(sha256 (build-system emacs-build-system)
(base32 "0iy1psfkhqf9a47pabl1w108niw2d4xnfvlcql2j58qlv5k9h1z7")))) (arguments
(native-inputs (list texinfo)) (list
(build-system emacs-build-system) #:phases
(arguments #~(modify-phases %standard-phases
(list (add-after 'install 'makeinfo
#:phases (lambda _
#~(modify-phases %standard-phases (invoke "emacs"
(add-after 'install 'makeinfo "--batch"
(lambda _ "--eval=(require 'ox-texinfo)"
(invoke "emacs" "--eval=(find-file \"doc/modus-themes.org\")"
"--batch" "--eval=(org-texinfo-export-to-info)")
"--eval=(require 'ox-texinfo)" (install-file "doc/modus-themes.info"
"--eval=(find-file \"doc/modus-themes.org\")" (string-append #$output "/share/info")))))))
"--eval=(org-texinfo-export-to-info)") (home-page "https://protesilaos.com/modus-themes/")
(install-file "doc/modus-themes.info" (string-append #$output "/share/info"))))))) (synopsis "Accessible themes (WCAG AAA)")
(home-page "https://protesilaos.com/modus-themes/") (description
(synopsis "Accessible themes (WCAG AAA)") "The Modus themes are designed for accessible readability. They conform
(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.
@ -29555,8 +29553,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")