unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0.
@ 2020-10-10 16:00 Morgan.J.Smith
  2020-10-11 16:25 ` Nicolas Goaziou
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Morgan.J.Smith @ 2020-10-10 16:00 UTC (permalink / raw)
  To: 43910; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): Update to 0.13.0.
[source]: Use git instead of elpa, as elpa is out of date
[arguments]: Add phase to remove modus-operandi-theme.el
---
 gnu/packages/emacs-xyz.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 44aaaa0541..f1ebdd90ff 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22685,15 +22685,25 @@ standard.  This is the highest standard of its kind.")
 (define-public emacs-modus-vivendi-theme
   (package
     (name "emacs-modus-vivendi-theme")
-    (version "0.12.0")
+    (version "0.13.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/"
-                           "modus-vivendi-theme-" version ".el"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/protesilaos/modus-themes")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "01f6z5xjnmki1k9m83jwva42lxidb31pdpwm4wpxjzxqmb96picn"))))
+        (base32
+         "0i6n3pzrmlgabsijy6z0hhs71q7g99yagwr2m33lr30skqc9rvdn"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-other-theme
+           (lambda _
+             (delete-file "modus-operandi-theme.el")
+             #t)))))
     (home-page "https://gitlab.com/protesilaos/modus-themes")
     (synopsis "Accessible dark theme (WCAG AAA)")
     (description
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-11-03 11:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 16:00 [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Morgan.J.Smith
2020-10-11 16:25 ` Nicolas Goaziou
2020-10-11 16:33   ` Morgan Smith
2020-11-02 13:50     ` Ludovic Courtès
2020-11-02 14:19       ` Morgan Smith
2020-11-02 18:33         ` Nicolas Goaziou
2020-10-30 18:16 ` [bug#43910] (no subject) André Alexandre Gomes
2020-10-31  5:07 ` [bug#43910] [PATCH] gnu: emacs-modus-vivendi-theme: Update to 0.13.0 Protesilaos Stavrou
2020-11-03 11:01 ` bug#43910: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).