Subject: [bug#44342] [PATCH 3/6] gnu: Add emacs-rtags.

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

* gnu/packages/emacs-xyz.scm (emacs-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 7dba5c50b8..3369bd837f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -82,6 +82,7 @@
 ;;; Copyright © 2020 Marco Grassi <[email-masked]>
 ;;; Copyright © 2020 Tomás Ortín Fernández <[email-masked]>
 ;;; Copyright © 2020 Zhu Zihao <[email-masked]>
+;;; Copyright © 2020 Malte Frank Gerdes <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25161,3 +25162,24 @@ the TypeScript implementation.")
       (description "This package provides an Emacs client for the Rocket.chat
 service.")
       (license license:expat))))
+
+(define-public emacs-rtags
+  (package
+    (name "emacs-rtags")
+    (version "20201008.1707")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://melpa.org/packages/rtags-"
+                           version ".el"))
+       (sha256
+        (base32
+         "05bbldla0rwnal3q97a36vhm2jlq659w293n5b5j109my4c5qxfn"))))
+    (build-system emacs-build-system)
+    (inputs
+     `(("rtags" ,rtags)))
+    (home-page "https://github.com/Andersbakken/rtags")
+    (synopsis "RTags integration in Emacs")
+    (description "@code{emacs-rtags} integrates RTags, a Client/Server
+Indexer for C/C++/ObjC/ObjC++ into Emacs.")
+    (license license:gpl3)))
-- 
2.29.1