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.
<https://github.com/hlissner/emacs-doom-themes/issues/314>.
This commit is contained in:
Brett Gilio 2019-12-14 13:06:07 -06:00
parent 5c1bd7b8d1
commit e9d8dee6c3
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -19783,38 +19783,47 @@ contrast and few colors.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-doom-themes (define-public emacs-doom-themes
(package (let ((commit "088bfad9a6983c42016da33cd11b9ee855451dcb")
(name "emacs-doom-themes") (revision "2")
(version "2.1.6") (version "2.1.6"))
(source (origin (package
(method git-fetch) (name "emacs-doom-themes")
(uri (git-reference (version (git-version version revision commit))
(url "https://github.com/hlissner/emacs-doom-themes.git") (source (origin
(commit (string-append "v" version)))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/hlissner/emacs-doom-themes.git")
(base32 "042pzcdhxi2z07jcscgjbaki9nrrm0cbgbbrnymd1r4q8ckkn8l9")))) (commit commit)))
(build-system emacs-build-system) (file-name (git-file-name name version))
(native-inputs (sha256
`(("emacs-ert-runner" ,emacs-ert-runner))) (base32 "1dmq0vja1k907id56y4012cm3f49vf106v3gglk9sf4kbi9cash2"))))
(arguments (build-system emacs-build-system)
`(#:tests? #t (native-inputs
#:test-command '("ert-runner") `(("emacs-ert-runner" ,emacs-ert-runner)))
#:phases (arguments
(modify-phases %standard-phases `(#:tests? #t
(add-after 'unpack 'move-themes #:test-command '("ert-runner")
(lambda _ #:phases
;; Move the source files to the top level, which is in the (modify-phases %standard-phases
;; EMACSLOADPATH. (add-after 'unpack 'move-themes
(for-each (lambda (f) (lambda _
(rename-file f (basename f))) ;; Move the source files to the top level, which is in the
(find-files "./themes" ".*\\.el$")) ;; EMACSLOADPATH.
#t))))) (for-each (lambda (f)
(synopsis "Wide collection of color themes for Emacs") (rename-file f (basename f)))
(description "Emacs-doom-themes contains numerous popular color themes for (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.
;; <https://github.com/hlissner/emacs-doom-themes/issues/314>
(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.") Emacs that integrate with major modes like Org-mode.")
(home-page "https://github.com/hlissner/emacs-doom-themes") (home-page "https://github.com/hlissner/emacs-doom-themes")
(license license:expat))) (license license:expat))))
(define-public emacs-modus-themes (define-public emacs-modus-themes
(package (package