Subject: [PATCH v2] gnu: Add emacs-org-rainbow-tags.

From: Hilton Chain <[email-masked]>
Date: Sat, 26 Nov 2022 20:09:24 +0800

* gnu/packages/emacs-xyz.scm (emacs-org-rainbow-tags): New variable.
---
Range-diff:
1:  f0cbfb8ff1 ! 1:  fc4fc395ed gnu: Add emacs-org-rainbow-tags.
    @@ gnu/packages/emacs-xyz.scm: (define-public emacs-org-inline-pdf
     +                  "006nx01sby8k0fc9lf63ldf0sl94ihldyrvqr9r18fb1gpzvivl6"))))
     +      (build-system emacs-build-system)
     +      (home-page "https://github.com/KaratasFurkan/org-rainbow-tags")
    -+      (synopsis
    -+       "Colorize org tags automatically to make them visually distinguishable")
    ++      (synopsis "Colorize Org tags automatically")
     +      (description
    -+       "This package adds random colors to your org tags. In order to make
    ++       "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))))
    ++      (license license:gpl3+))))
     +
      (define-public emacs-org-rich-yank
        (package

 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8eb4dab077..d2ced38a53 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6100,6 +6100,30 @@ (define-public emacs-org-inline-pdf
 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")

base-commit: adf3eecedade19ce88d3df4325acef4559d05e8f
-- 
2.38.1