Subject: [bug#28019] [PATCH] gnu: Add emacs-erc-hl-nicks.

From: Oleg Pykhalov <[email-masked]>
Date: Tue, 08 Aug 2017 20:56:38 +0300

>From 406b00a08da3a21fc6f59a35a2987ce0a4f46192 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <[email-masked]>
Date: Tue, 8 Aug 2017 20:55:21 +0300
Subject: [PATCH] gnu: Add emacs-erc-hl-nicks.

* gnu/packages/emacs.scm (emacs-erc-hl-nicks): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 427f3fc3e..893e193d9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5303,3 +5303,28 @@ enables you to easily define search engines, bind them to keybindings, and
 query them from the comfort of your editor.")
     (home-page "https://github.com/hrs/engine-mode")
     (license license:gpl3+)))
+
+(define-public emacs-erc-hl-nicks
+  (package
+    (name "emacs-erc-hl-nicks")
+    (version "1.3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
+                                  "/archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
+    (build-system emacs-build-system)
+    (synopsis "Nickname highlighting for Emacs ERC")
+    (description "@code{erc-hl-nicks} it will auto colorize nicknames.
+@itemize
+@item Don’t have to specify colors.
+@item Ignores certain characters that IRC clients add to nicknames to
+ avoid duplicates (nickname, nickname’).
+@item Attempt to produce colors with a sufficient amount of contrast
+ between the nick color and the background color.
+@end itemize\n")
+    (home-page "https://github.com/leathekd/erc-hl-nicks")
+    (license license:gpl3+)))
-- 
2.14.0