[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow.
From: |
Liliana Marie Prikler |
Subject: |
[bug#66545] [PATCH] gnu: Add emacs-color-theme-sanityinc-tomorrow. |
Date: |
Sat, 14 Oct 2023 20:29:34 +0200 |
User-agent: |
Evolution 3.46.4 |
Am Samstag, dem 14.10.2023 um 19:47 +0200 schrieb Rostislav Svoboda:
> * gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow):
> New variable.
> ---
> gnu/packages/emacs-xyz.scm | 40
> ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index bb8c25f9b5..1d10188b9c 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -11057,6 +11057,46 @@ (define-public emacs-moe-theme-el
> variants.")
> (license license:gpl3+)))
>
> +(define-public emacs-color-theme-sanityinc-tomorrow
> + (let ((commit "d34e8db507ee0c7b465ff18a8f220c33ed77cd79")
> + (revision "0"))
> + (package
> + (name "emacs-color-theme-sanityinc-tomorrow")
> + (version (git-version "0" revision commit))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url
> +
> "https://github.com/purcell/color-theme-sanityinc-tomorrow")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> "1mfildi7rav2j42avii7z4gp4ghl04cqv8wp1vyxzl8vkyj60nkb"))))
> + (build-system emacs-build-system)
> + (arguments
> + (list
> + #:tests? #true
> + #:test-command
> + #~(list "emacs" "-Q" "--batch" "--eval" "
> +(progn
> + (setq byte-compile-error-on-warn t)
> + (push default-directory load-path))
> +"
> + "-f" "batch-byte-compile"
> + "color-theme-sanityinc-tomorrow.el"
> + "sanityinc-tomorrow-blue-theme.el"
> + "sanityinc-tomorrow-bright-theme.el"
> + "sanityinc-tomorrow-day-theme.el"
> + "sanityinc-tomorrow-eighties-theme.el"
> + "sanityinc-tomorrow-night-theme.el")))
The tests should not be byte compilation. In fact, these files should
be compiled by the build phase.
> + (home-page
> "https://github.com/purcell/color-theme-sanityinc-tomorrow")
> + (synopsis "Emacs color themes based on Chris Kempson's
> 'tomorrow' themes")
> + (description
> + "An Emacs version of Chris Kempson's \"Tomorrow\" themes,
> with much more
> +extensive face definitions than the \"official\" Emacs variant.")
> + (license license:gpl3+))))
> +
> (define-public emacs-solarized-theme
> (package
> (name "emacs-solarized-theme")
>
> base-commit: 3d0cdf963820da665d71987c15cae6e503efc701
Cheers