Subject: [PATCH 6/6] gnu: Add emacs-company-rtags.

From: Malte Frank Gerdes <[email-masked]>
Date: Sat, 31 Oct 2020 15:11:18 +0100

* gnu/packages/emacs-xyz.scm (emacs-company-rtags): 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 9152cee786..5fb3fb2b08 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25072,6 +25072,28 @@ label references and citations in LaTeX.  It is based on RefTeX, which is
 included with Emacs.")
     (license license:gpl3+)))
 
+(define-public emacs-company-rtags
+  (package
+    (name "emacs-company-rtags")
+    (version "20191222.920")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://melpa.org/packages/company-rtags-"
+                           version ".el"))
+       (sha256
+        (base32
+         "0vfg4d7s7zf33938aw8m4pc5bc1bzb96b3w360k8nnhh6xxy54nc"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("company" ,emacs-company)
+       ("rtags" ,emacs-rtags)))
+    (home-page "https://github.com/Andersbakken/rtags")
+    (synopsis "Company backend for RTags")
+    (description "@code{emacs-company-rtags} integrates a RTags Client/Server
+Indexer for C/C++/ObjC/ObjC++ into Company.")
+    (license license:gpl3)))
+
 (define-public emacs-html-to-hiccup
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.
-- 
2.29.1