From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sNPVKF9C0mQ9HgAASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 15:25:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CBaRKF9C0mTxGAEAauVa8A (envelope-from ) for ; Tue, 08 Aug 2023 15:25:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 52AFE4B2B3 for ; Tue, 8 Aug 2023 15:25:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=kUs3BhWm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691501151; a=rsa-sha256; cv=none; b=R1cMt68Uh0OixIeeB3Vxp8h1UGPw2eNH05VWy2wjcaFx3vKoMttj7RCIxplNQripCtoca9 NZYpfa6hngKKZ0DXOoha1YSWKU7jKFsZLcfcMSBcvi6UPBu9FI6OpP3EZeXxjwauoeX7Lo NC2VCBYVnzMnAWjYC3ft5TYG7EJzQ805Jqa6QahiMh6GuxGdVST7jj/0iHUA0vtM1tw/js XGooT+OydhZR279mFJpPyvEjvkMNftEpgcHLyYcxmxAj4isydZZaoJVW4AfAHbD/NLF0gi aUAhDntL/y16WMNPIR+u2eCmsOzZGgaI7LqW0VGm3IDlPmRlV5mWBpkQLWt9HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691501151; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lo+PQG98vFH4ssRiEHPKbIGsbgDnAAC+jNzbD+92ddo=; b=BFaVZ2aD9t8zVje14vTYd84ZuDgXWVYXIuacpRIv0Rrh7celxVX7we92xtjWkpKrkiIUNa nsKpASPUSDoc4LuFXjZhf3mSaxyx7Qs5OO9pyFeHxfR5svsbY7ATdBs4vfdWRaZSGdfHkG fqmTt1onc8F8VVB47ZRND+34/ytDVzoyhctqlzSmSEd98zS+XAu2LE8I4T+z8Z6NiqHw2Z OlDHU6g9+iBWn1kIoHs3U12R5B6GZPysJcWN6sWmOs6KZs9h3ScVmrnDHrr+XMuewNtZXC rLawcRHHK/af5JG9hOKb22xZRWl7bxfPhOfJiBk0Xg29yK+vbwZ7hKXWrWXzXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=kUs3BhWm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTMhx-00025C-16; Tue, 08 Aug 2023 09:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTMhu-00022z-Ce for guix-patches@gnu.org; Tue, 08 Aug 2023 09:25:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTMhu-0000a3-25 for guix-patches@gnu.org; Tue, 08 Aug 2023 09:25:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTMht-0002om-T2; Tue, 08 Aug 2023 09:25:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v2 14/14] gnu: Add ocaml-lsp-server. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 08 Aug 2023 13:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64209 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64209@debbugs.gnu.org Cc: Benjamin , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 64209-submit@debbugs.gnu.org id=B64209.169150105110673 (code B ref 64209); Tue, 08 Aug 2023 13:25:05 +0000 Received: (at 64209) by debbugs.gnu.org; 8 Aug 2023 13:24:11 +0000 Received: from localhost ([127.0.0.1]:35628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMh1-0002m0-EZ for submit@debbugs.gnu.org; Tue, 08 Aug 2023 09:24:11 -0400 Received: from mail.uvy.fr ([2001:41d0:304:200::4a2]:38190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMgu-0002iO-Q2 for 64209@debbugs.gnu.org; Tue, 08 Aug 2023 09:24:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1691501034; bh=cBpVVbU9KmSnuaNBGq1XizfehlorFH1tnjME/R+WDek=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kUs3BhWmUyS/QHg3K9bAtYBbv//E7d/5ZCtS/Y0QkNUqZjxjBvVynBR1r5LJCh5AX cj4hJf2UdKbl3z+CfIZyMpWApkzhiXmxg+s7kOCvlvbsqR/iY7yPE7oOqJPrRHdBkr dXghM/SP84S0CPE9hhfl1Edd6LZMCGU7pXudd3w/75KZeK1a55PAWHrT/TO0TiJlJr M5ThKXkgfO5VxdjUnRX8s8yGfbP4kkpu4VhDnpCT2PXn9wnumJJd6R/ceSOnX3lLZO CczWfcu+lZHw7chKrm7ejVyhfpRpQptVprwf39KnrhHxjxgVQ7OEmAWPD8OmeKpeqR GlqW5rFXgNFuA== From: Benjamin Date: Tue, 8 Aug 2023 15:23:11 +0200 Message-ID: <321ec1fd18676878a8c81b4e65942c800f2d9033.1691500834.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.56 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 52AFE4B2B3 X-Spam-Score: -3.56 X-TUID: XjILDNj+2PCG * gnu/packages/ocaml.scm (ocaml-lsp-server): New variable. --- gnu/packages/ocaml.scm | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b57c61ff8c..ee87e84c0b 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6330,6 +6330,49 @@ (define-public ocaml5.0-merlin Atom.") (license license:expat)))) +;this package is not public because 1.16.1 only support ocaml 5.0 and 5.1 +(define ocaml-lsp-server + (package + (name "ocaml-lsp-server") + (version "1.16.2") + (home-page "https://github.com/ocaml/ocaml-lsp") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (sha256 + (base32 + "1nd1655allyml2qpr6asxv3d2pdq5clw7vx7zx9bfiawyi2szsn8")))) + (build-system dune-build-system) + (arguments '(#:tests? #f)) ; tests are failing for v1.16.1 + (propagated-inputs (list ocaml-merlin-lib-4.9 + ocamlformat-rpc-lib + ocaml-pp + ocamlc-loc + ocaml-spawn + ocaml-ordering + ocaml-fiber + ocaml-dyn + ocaml-dune-rpc + ocaml-re + ocaml-csexp + ocaml-uutf + ocaml-odoc-parser + ocaml-dune-build-info + ocaml-xdg + ocaml-stdune + ocaml-chrome-trace + ocaml-ppx-yojson-conv-lib + ocaml-yojson)) + (native-inputs (list ocaml-ppx-expect ocamlformat ocaml-odoc)) + (properties `((upstream-name . "ocaml-lsp-server"))) + (synopsis "LSP Server for OCaml") + (description "This package implements an Ocaml language server implementation.") + (license license:isc))) + +(define-public ocaml5.0-lsp-server (package-with-ocaml5.0 ocaml-lsp-server)) + (define-public ocaml-gsl (package (name "ocaml-gsl") -- 2.41.0