Subject: [PATCH] gnu: Add emacs-company-emoji.
From: Evan Straw <[email-masked]>
To: [email-masked]
Date: Sat, 22 Feb 2020 19:48:54 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From 6c23c5966a3c7ed01c784874e410d5fe3009bfc5 Mon Sep 17 00:00:00 2001
From: Evan Straw <[email-masked]>
Date: Sat, 22 Feb 2020 19:47:19 -0800
Subject: [PATCH] gnu: Add emacs-company-emoji.

* gnu/packages/emacs-xyz.scm (emacs-company-emoji): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1247c01e63..5d3bd9e504 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2019 David Wilson <[email-masked]>
 ;;; Copyright © 2020 Paul Garlick <[email-masked]>
 ;;; Copyright © 2020 Robert Smith <[email-masked]>
+;;; Copyright © 2020 Evan Straw <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21498,3 +21499,24 @@ Values are stored in a directory in @code{user-emacs-directory}, using
 one file per value.  This makes it easy to delete or remove unused
 variables.")
     (license license:gpl3+)))
+
+(define-public emacs-company-emoji
+  (package
+    (name "emacs-company-emoji")
+    (version "2.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dunn/company-emoji/")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0r9zcbm3nb3zw5cwrkl098v5b49jbga5404bj7j55g6k4rwkjar2"))))
+    (build-system emacs-build-system)
+    (inputs `(("emacs-company" ,emacs-company)))
+    (home-page "https://github.com/dunn/company-emoji/")
+    (synopsis "Company-mode backend for emoji")
+    (description "Company-mode backend providing autocompletion for emoji.")
+    (license license:gpl3+)))
-- 
2.20.1