summary refs log tree commit diff
diff options
context:
space:
mode:
authorHilton Chain via Guix-patches via <guix-patches@gnu.org>2022-11-26 20:09:24 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-11-27 00:16:42 +0100
commit77d249aa10927b23ea2a22c4a25f7ba0c726855a (patch)
tree6c1d327d6a8f2289124a6c16d6864fe481d23487
parentae1efb41b89676ef7745c70bca0e71fb2f0318b6 (diff)
downloadguix-77d249aa10927b23ea2a22c4a25f7ba0c726855a.tar.gz
gnu: Add emacs-org-rainbow-tags.
* gnu/packages/emacs-xyz.scm (emacs-org-rainbow-tags): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 614a4a123e..66c30b587f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6100,6 +6100,30 @@ allrecipes.com.")
 inline PDF preview in Org buffers by using pdf2svg.")
     (license license:gpl3+)))
 
+(define-public emacs-org-rainbow-tags
+  ;; Upstream didn't tag version.
+  (let ((commit "c6040d228c5e8c5c6d33c7f81fc09d935ad1bcbd"))
+    (package
+      (name "emacs-org-rainbow-tags")
+      (version "0.1-pre")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/KaratasFurkan/org-rainbow-tags")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "006nx01sby8k0fc9lf63ldf0sl94ihldyrvqr9r18fb1gpzvivl6"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/KaratasFurkan/org-rainbow-tags")
+      (synopsis "Colorize Org tags automatically")
+      (description
+       "This package adds random colors to your Org tags.  In order to make
+colors random but consistent between same tags, colors are generated from the
+hash of the tag names.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-rich-yank
   (package
     (name "emacs-org-rich-yank")