From e9d8dee6c3d6e2ddff74841a3ab3a2ba2816bf27 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Sat, 14 Dec 2019 13:06:07 -0600 Subject: gnu: emacs-doom-themes: Update to 2.1.6-2. * gnu/packages/emacs-xyz.scm (emacs-doom-themes): Update to 2.1.6-2. [arguments]: Disable byte-compilation regarding issue in upstream. . --- gnu/packages/emacs-xyz.scm | 71 ++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 31 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0480b1b33f..30b62588dc 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -19783,38 +19783,47 @@ (define-public emacs-quasi-monochrome (license license:gpl3+)))) (define-public emacs-doom-themes - (package - (name "emacs-doom-themes") - (version "2.1.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/hlissner/emacs-doom-themes.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "042pzcdhxi2z07jcscgjbaki9nrrm0cbgbbrnymd1r4q8ckkn8l9")))) - (build-system emacs-build-system) - (native-inputs - `(("emacs-ert-runner" ,emacs-ert-runner))) - (arguments - `(#:tests? #t - #:test-command '("ert-runner") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'move-themes - (lambda _ - ;; Move the source files to the top level, which is in the - ;; EMACSLOADPATH. - (for-each (lambda (f) - (rename-file f (basename f))) - (find-files "./themes" ".*\\.el$")) - #t))))) - (synopsis "Wide collection of color themes for Emacs") - (description "Emacs-doom-themes contains numerous popular color themes for + (let ((commit "088bfad9a6983c42016da33cd11b9ee855451dcb") + (revision "2") + (version "2.1.6")) + (package + (name "emacs-doom-themes") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hlissner/emacs-doom-themes.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dmq0vja1k907id56y4012cm3f49vf106v3gglk9sf4kbi9cash2")))) + (build-system emacs-build-system) + (native-inputs + `(("emacs-ert-runner" ,emacs-ert-runner))) + (arguments + `(#:tests? #t + #:test-command '("ert-runner") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'move-themes + (lambda _ + ;; Move the source files to the top level, which is in the + ;; EMACSLOADPATH. + (for-each (lambda (f) + (rename-file f (basename f))) + (find-files "./themes" ".*\\.el$")) + #t)) + ;; XXX: There is a byte-code overflow issue in the latest + ;; checkout which affects byte-compilation for several theme + ;; files. The easiest way to work around this is to disable + ;; byte-compilation until the issue is resolved. + ;; + (delete 'build)))) + (synopsis "Wide collection of color themes for Emacs") + (description "Emacs-doom-themes contains numerous popular color themes for Emacs that integrate with major modes like Org-mode.") - (home-page "https://github.com/hlissner/emacs-doom-themes") - (license license:expat))) + (home-page "https://github.com/hlissner/emacs-doom-themes") + (license license:expat)))) (define-public emacs-modus-themes (package -- cgit v1.2.3