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

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

* gnu/packages/emacs-xyz.scm (emacs-flycheck-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 3369bd837f..58ed15d005 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23072,6 +23072,28 @@ Google guidelines.")
       (home-page "https://github.com/flycheck/flycheck-google-cpplint")
       (license license:gpl3+))))
 
+(define-public emacs-flycheck-rtags
+  (package
+    (name "emacs-flycheck-rtags")
+    (version "20191222.920")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://melpa.org/packages/flycheck-rtags-"
+                           version ".el"))
+       (sha256
+        (base32
+         "1cxj251fc7f910wqj1prdjq5zgx7n0zx4bw8m2kf267pxcimb828"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("flycheck" ,emacs-flycheck)
+       ("rtags" ,emacs-rtags)))
+    (home-page "https://github.com/Andersbakken/rtags")
+    (synopsis "Flycheck backend for RTags")
+    (description "@code{emacs-flycheck-rtags} integrates RTags, a Client/Server
+Indexer for C/C++/ObjC/ObjC++ into Flycheck.")
+    (license license:gpl3)))
+
 (define-public emacs-helm-fish-completion
   (package
     (name "emacs-helm-fish-completion")
-- 
2.29.1