[bug#39750] gnu: Add emacs-company-emoji.
diff mbox series

Message ID 87r1ym0xqx.fsf@gmail.com
State Accepted
Headers show
Series
  • [bug#39750] gnu: Add emacs-company-emoji.
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Evan Straw Feb. 23, 2020, 3:48 a.m. UTC

Comments

Nicolas Goaziou Feb. 26, 2020, 2:48 p.m. UTC | #1
Hello,

Evan Straw <evan.straw99@gmail.com> writes:

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

Thank you! I applied the patch with the following changes:

- I used `propagate-inputs' instead of `inputs' as is done for Emacs packages,
- I wrote a full sentence for the description.

Regards,

Patch
diff mbox series

From 6c23c5966a3c7ed01c784874e410d5fe3009bfc5 Mon Sep 17 00:00:00 2001
From: Evan Straw <evan.straw99@gmail.com>
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 <david@daviwil.com>
 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
 ;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
+;;; Copyright © 2020 Evan Straw <evan.straw99@gmail.com>
 ;;;
 ;;; 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