* [bug#37511] [PATCH] gnu: Add ccls.
@ 2019-09-25 10:52 Mathieu Othacehe
2019-09-26 9:32 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2019-09-25 10:52 UTC (permalink / raw)
To: 37511; +Cc: Mathieu Othacehe
* gnu/packages/cpp.scm (ccls): New variable.
---
gnu/packages/cpp.scm | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 9e95bacd65..277274e60f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,7 +34,8 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config)
- #:use-module (gnu packages tls))
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages web))
(define-public libzen
(package
@@ -276,3 +278,31 @@ intuitive syntax and trivial integration.")
(description "xtl is a C++ header-only template library providing basic
tools (containers, algorithms) used by other QuantStack packages.")
(license license:bsd-3)))
+
+(define-public ccls
+ (package
+ (name "ccls")
+ (version "0.20190823.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MaskRay/ccls")
+ (commit version)))
+ (sha256
+ (base32 "1sx31zp6q2qc6fz3r78rx34zp2x4blrqzxwbpww71vb6lp1clmdm"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f)) ; no check target.
+ (inputs
+ `(("rapidjson" ,rapidjson)))
+ (native-inputs
+ `(("clang" ,clang)
+ ("llvm" ,llvm)))
+ (home-page "https://github.com/MaskRay/ccls")
+ (synopsis "C/C++/Objective-C language server")
+ (description
+ "C/C++/Objective-C language server supporting cross references,
+hierarchies, completion and syntax highlighting.")
+ (license license:asl2.0)))
--
2.23.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#37511] [PATCH] gnu: Add ccls.
2019-09-25 10:52 [bug#37511] [PATCH] gnu: Add ccls Mathieu Othacehe
@ 2019-09-26 9:32 ` Ludovic Courtès
2019-09-26 11:55 ` Mathieu Othacehe
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-09-26 9:32 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 37511
Hi,
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> * gnu/packages/cpp.scm (ccls): New variable.
[...]
> + (home-page "https://github.com/MaskRay/ccls")
> + (synopsis "C/C++/Objective-C language server")
> + (description
> + "C/C++/Objective-C language server supporting cross references,
> +hierarchies, completion and syntax highlighting.")
Could you write a full sentence and ideally elaborate a little bit?
Otherwise LGTM!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#37511] [PATCH] gnu: Add ccls.
2019-09-26 9:32 ` Ludovic Courtès
@ 2019-09-26 11:55 ` Mathieu Othacehe
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2019-09-26 11:55 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 37511
Hey,
> Could you write a full sentence and ideally elaborate a little bit?
Fixed and pushed on core-updates as it needs gcc7.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-26 11:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-25 10:52 [bug#37511] [PATCH] gnu: Add ccls Mathieu Othacehe
2019-09-26 9:32 ` Ludovic Courtès
2019-09-26 11:55 ` Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).