guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29864] [PATCH] gnu: Add rtags-2.16.


From: Catonano
Subject: [bug#29864] [PATCH] gnu: Add rtags-2.16.
Date: Tue, 2 Jan 2018 15:00:11 +0100

I tried both these patches and both turn to be corrupted on line 25

Am I missing anything ?

2017-12-27 15:32 GMT+01:00 Fis Trivial <address@hidden>:

* gnu/packages/code.scm (rtags-2.16): New public variable.
---
 gnu/packages/code.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a094f0a46..f2d974168 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -25,6 +25,7 @@
 (define-module (gnu packages code)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
@@ -39,7 +40,9 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages autogen)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages autotools))
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages bash))

 ;;; Tools to deal with source code: metrics, cross-references, etc.

@@ -383,3 +386,35 @@ case.  The extension consists of a set of Perl scripts which build on the
 textual @command{gcov} output to implement the following enhanced
 functionality such as HTML output.")
     (license license:gpl2+)))
+
+(define-public rtags
+  (package
+    (name "rtags")
+    (version "2.16")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Andersbakken/rtags.git")
+                    (commit "8ef7554852541eced514c56d5e39d6073f7a2ef9")
+                    (recursive? #t)))
+              (sha256
+               (base32
+                "12r7lsqdmcbs9864a6dpblvifqvmfxhvxippyhfnnm2ai5ra80nc"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_TESTING=FALSE"
+                           "-DRTAGS_NO_ELISP_FILES=1")
+       #:tests? #f))
+    (inputs
+     `(("clang" ,clang)
+       ("llvm" ,llvm)
+       ("bash-completion" ,bash-completion)))
+    (home-page "http://www.rtags.net/")
+    (synopsis "Indexer for the c language family with Emacs integration")
+    (description
+     "RTags is a client/server application that indexes C/C++ code and keeps a
+persistent file-based database of references, declarations, definitions,
+symbolnames etc.  There’s also limited support for ObjC/ObjC++.  It allows you
+to find symbols by name (including nested class and namespace scope).  Most
+importantly we give you proper follow-symbol and find-references support.")
+    (license license:gpl3+)))
--
2.13.6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]