summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2022-10-03 02:37:56 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-04 13:37:41 +0200
commitfd7c34f2bf68e14e5e77895fe861828444625c3a (patch)
tree2539215cde3b1f5fe90f2ec8869f0666e039852b /gnu
parent17134b9ec1aad94d41d75217a919dd1b224549d2 (diff)
gnu: Add emacs-circadian.
* gnu/packages/emacs-xyz.scm (emacs-circadian): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0cd9fa1959..acb50aa2f4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19641,6 +19641,35 @@ tables of contents.")
timestamps by providing a @code{ts} struct.")
(license license:gpl3+)))
+(define-public emacs-circadian
+ (package
+ (name "emacs-circadian")
+ (version "0.3.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/guidoschmidt/circadian.el")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wpsykmai3idz0bgfl07hwl9nr4x9sgprvqgw8jln4dz2wf5gdic"))))
+ (arguments
+ (list
+ #:tests? #t
+ #:test-command #~(list "ert-runner")))
+ (build-system emacs-build-system)
+ (native-inputs
+ (list emacs-el-mock emacs-ert-runner))
+ (home-page "https://github.com/guidoschmidt/circadian.el")
+ (synopsis "Theme-switching for Emacs based on daytime")
+ (description "Circadian may reduce eye strain by automatically switching
+between light and dark themes based on daytime. It is inspired by color
+temperature shifting tools and brightness adaption software.")
+ ;; The LICENSE file is expat, but the sole ".el" file is explicitly GPL3+.
+ (license (list license:gpl3+
+ license:expat))))
+
(define-public emacs-peg
(package
(name "emacs-peg")