From 330a6ff4ebf32625c34a5e337878482f02abfd96 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 17 Jul 2019 21:35:05 +0200 Subject: gnu: Add emacs-ccls. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs-xyz.scm (emacs-ccls): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8b9d3263b7..110a053b29 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13793,6 +13793,34 @@ (define-public emacs-pandoc-mode Pandoc, the document-conversion tool.") (license license:bsd-3))) +(define-public emacs-ccls + (let ((commit "2764ddd57b03646f0327ea680a954b4a67450aef") + (version "0.1") + (revision "1")) + (package + (name "emacs-ccls") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MaskRay/emacs-ccls") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16427jvzhjy8kpvlgl3qzkzppv98124hkgi8q8pv1h7m46k9lhh3")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-projectile" ,emacs-projectile) + ("emacs-lsp-mode" ,emacs-lsp-mode))) + (home-page "https://github.com/MaskRay/emacs-ccls") + (synopsis "Emacs support for the @code{ccls} language server") + (description "This package extends @code{lsp-mode} to work with @code{C} +and @code{C++} files through the @code{ccls} language server.") + (license license:bsd-3)))) + (define-public emacs-org-brain (package (name "emacs-org-brain") -- cgit v1.2.3