From patchwork Wed Sep 25 10:52:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15459 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 08045173EC; Wed, 25 Sep 2019 11:53:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B0C84173BE for ; Wed, 25 Sep 2019 11:53:11 +0100 (BST) Received: from localhost ([::1]:48106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD4v1-0003V4-67 for patchwork@mira.cbaines.net; Wed, 25 Sep 2019 06:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42865) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD4ut-0003Um-KD for guix-patches@gnu.org; Wed, 25 Sep 2019 06:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iD4us-00056n-5b for guix-patches@gnu.org; Wed, 25 Sep 2019 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iD4us-00056j-2h for guix-patches@gnu.org; Wed, 25 Sep 2019 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iD4ur-0001pz-VN for guix-patches@gnu.org; Wed, 25 Sep 2019 06:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37511] [PATCH] gnu: Add ccls. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2019 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37511 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37511@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15694087627024 (code B ref -1); Wed, 25 Sep 2019 10:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Sep 2019 10:52:42 +0000 Received: from localhost ([127.0.0.1]:40879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD4uY-0001pE-EW for submit@debbugs.gnu.org; Wed, 25 Sep 2019 06:52:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:58608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD4uV-0001p6-SP for submit@debbugs.gnu.org; Wed, 25 Sep 2019 06:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42819) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD4uU-0003US-Fh for guix-patches@gnu.org; Wed, 25 Sep 2019 06:52:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iD4uP-0004qh-UV for guix-patches@gnu.org; Wed, 25 Sep 2019 06:52:38 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:46506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iD4uP-0004qF-Mt for guix-patches@gnu.org; Wed, 25 Sep 2019 06:52:33 -0400 Received: by mail-wr1-x430.google.com with SMTP id o18so6225739wrv.13 for ; Wed, 25 Sep 2019 03:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yrH6dMVzt6TW0eEChZMKC1OXN66HFTbrufrrHUZGyAE=; b=SWl0UvDNTFv/CAnWKhTNMO/g8ZRzAdgpofv7HoPhTvNbH2+7dQC6Rq0EY8i0ppzSPg sF6NfAM8Kz/x0R65OJM8LEolfIosElmx6VaffBHF7ubI6aXAacA5aIyEtYfYUYQd2apc u2fQ/QJx6codE/X7+dt5be94K+9wFK+SZAqO8+fe9z9UkBwv2nGXneQCyu8bb4qgAybM oBa33x8MSr6nR3D18sd2OS9W0e3BwtAAHk2ZD46dEHqgEw2gTlS/qU1hYAIfz1qFN3+f mf+qlfows5s536qiyTEICEMFj07/jEcrUnEeACx+aBSXjVoJS3Oe95NZm7/tCrvXeg57 jRJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yrH6dMVzt6TW0eEChZMKC1OXN66HFTbrufrrHUZGyAE=; b=ADT803w6Dq8PbqkBhGfamIoawnb7+OmUMl3T5BrFIuDDdWFUY85u6L5W9vaEMTHcKB pFwB/G9RQGRlSRAmXfm5bu06XBzMvxpaXyEbOHfuccFOsBgRI2ftd3R9Vs05WBJoAaaR LHWPxfIF4Sfw2T+P5WgYSwUecqMed7JMjljmnc2BmHcSBnSAyqvFXuDijfKbKlq2B5QB 3hIJ2SL4dVkYmq++FaZFJ0NkAgtrcoNMAgIHCswESi/OkXl0Wr8RGRW9R+a6edQHM5/i kwu552kPvsJRxjr+pNYxu3/m8UqYm+7NPA4T8eLC7dG2SAnmMqgu9zS7U0F6YadGE/+V SKuA== X-Gm-Message-State: APjAAAVEp50V/M2NinlVY/de0Q0zNkVhDo86K9hNQsAnC1HUDFKIN55b 8H5HQuU3NgKmeNtg2v5q5c0DIWL8yV4= X-Google-Smtp-Source: APXvYqzssjpN+/XR0j3l8bGI2/sAT3XHXah9cHHgX4TLFRiWw//qbGgVliVZV1owYfgUQumUvS5Iug== X-Received: by 2002:adf:fd4d:: with SMTP id h13mr8722826wrs.66.1569408751126; Wed, 25 Sep 2019 03:52:31 -0700 (PDT) Received: from localhost.localdomain ([90.114.71.216]) by smtp.gmail.com with ESMTPSA id m18sm8476867wrg.97.2019.09.25.03.52.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Sep 2019 03:52:30 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 25 Sep 2019 12:52:24 +0200 Message-Id: <20190925105224.3683-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2018 Fis Trivial ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; 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)))