From 3b22197b0f8b870c7e671205a3ea831235cfd52d Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Tue, 18 Nov 2025 20:27:45 +0100 Subject: [PATCH] gnu: emacs-standard-themes: Update to 3.0.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs-xyz.scm (emacs-standard-themes): Update to 3.0.2. [source]: Switch to git-fetch. [propagated-inputs]: Add emacs-modus-themes. [native-inputs]: Add texinfo. [arguments]: Add ’makeinfo #:phase. [license]: Include manual license. [home-page]: Update. Change-Id: I1073333fa9d68e832cf54929f84b39344af20782 --- gnu/packages/emacs-xyz.scm | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9eaa2e05a15..eca90fdfc57 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9641,23 +9641,35 @@ configuration, cache, and other data.") (define-public emacs-standard-themes (package (name "emacs-standard-themes") - (version "2.2.0") + (version "3.0.2") (source (origin - (method url-fetch) - (uri (string-append "https://elpa.gnu.org/packages/standard-themes-" - version ".tar")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/protesilaos/standard-themes") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0qdld75vcfhsn2l0xips52vrlp5q7ss3973hd722h2gp1wddn5f7")))) + (base32 "1fv8vh67c7lpipcpmcnr0skilj29cjlc86s8m4bfwmycjzikc332")))) (build-system emacs-build-system) - (home-page "https://github.com/protesilaos/standard-themes") + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'makeinfo + (lambda _ (emacs-makeinfo)))))) + (propagated-inputs + (list emacs-modus-themes)) + (native-inputs (list texinfo)) + (home-page "https://protesilaos.com/emacs/standard-themes") (synopsis "Like the default Emacs theme but more consistent") (description "The standard-themes are a pair of light and dark themes for GNU Emacs. They emulate the out-of-the-box looks of Emacs (which technically do @emph{not} constitute a theme) while bringing to them thematic consistency, customizability, and extensibility.") - (license license:gpl3+))) + (license (list license:gpl3+ + license:fdl1.3+)))) ;GFDLv1.3+ for the manual (define-public emacs-string-inflection (package