From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ICRxGBRRTmWzCgAAG6o9tA:P1 (envelope-from ) for ; Fri, 10 Nov 2023 16:49:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ICRxGBRRTmWzCgAAG6o9tA (envelope-from ) for ; Fri, 10 Nov 2023 16:49:40 +0100 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 46A8537330 for ; Fri, 10 Nov 2023 16:49:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=XQW+IUZO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699631380; 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=LeQp+spG5e53A3LBtPZ722LIWC4elWBCOe5eqGC1W0Q=; b=neRn4KjfnZd5wmkMexj+yzEPAXh840GOgQenibkLpSMDqUaUyhALkreyyJuVqd4VFlEXqM 6ddb+0NpqwdNdqFuD6hxaR/lwmZ6APzvSUAiLZmXIOq6LRyQa8XfF2BbQ4jV/eadReWGlZ opxNGeJp29NBdtAPLvsAdiJFoEnoXJopz2tycpSl47kScGHDqC7oAiTG6Ul+QZh2WVbX3n /o92jp1i28X7ag056jT6mF0sawMDIroVftD+A94C+zhnAfH4VJTFT1rnjuKjf4AGJrFxCt RpJ1QTZaVjwTN/eKWwXq5Y8h+LTvWujFGPLNi/bVLb4x5fFIhG1FaBgTRaRtuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=XQW+IUZO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699631380; a=rsa-sha256; cv=none; b=TAzk+661koYe8yySUjoTHi4iEm4RkPEypBkG4zppNDILZsyO8UnQHBRrZaXTE6VGHM5gCG Ya2/NurlxOh0RHht+sbWMMsYrlqcG+u47jb6/kH7w2xPYko+IlEHSrh2ee+hTtS+OLhlbe Ck1xmgHU7yHUDtjl5zcBOhx0/DeuagcL0IpxrSyJn61BYHYmGfw/EorPBXR4CO1fQsCq7c GkTYZ/M34h6LOdue8YZSKcNtXZJZvl7T0cG1OtM4Prl8LrLTiw84wale/E758Q3HTTqEnH gJq3AlKtsj+Sa/Si0ikiImZoWxmEaz4A1UxzOVk/gbGPtjli/dl4sTWal1kN7w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1TkE-0003ni-RS; Fri, 10 Nov 2023 10:48:30 -0500 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 1r1TkD-0003mQ-5W for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:29 -0500 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 1r1TkC-0006y3-Tq for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:28 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1Tkq-0007rL-LQ; Fri, 10 Nov 2023 10:49:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v3 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: Fri, 10 Nov 2023 15:49:08 +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.169963134730187 (code B ref 64209); Fri, 10 Nov 2023 15:49:08 +0000 Received: (at 64209) by debbugs.gnu.org; 10 Nov 2023 15:49:07 +0000 Received: from localhost ([127.0.0.1]:50698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Tkp-0007qg-4Y for submit@debbugs.gnu.org; Fri, 10 Nov 2023 10:49:07 -0500 Received: from mail.uvy.fr ([2001:41d0:304:200::4a2]:35668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Tkm-0007o7-Lp for 64209@debbugs.gnu.org; Fri, 10 Nov 2023 10:49:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1699631299; bh=uc+8rz8jt5NYbH5r+LoLGIgpMqJ0/kNGqALXBSZ0jxY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XQW+IUZO1T97FKh7z51+Mqac+iyXekGtGkFuCMWs7eesg/QsNlXlo+FmhN5ZXqo6+ d5vKPIjLx1AsWjELHP+YeRzyDSHGrLuqadQeKjvYnx4k7hTL6xqZp5m4O+52xNbRoV COwcSl2VWL+bEHftIay2/Ivyk0cOs+s5UV9wNQWzoKX7Hs8iodFhwyH6/dc+1rECxe Jpn+8PBDagpFyhpcsxhfN9jPLy+nae/D2ddVyms37QabpOD9zjWtdVExqqWdcjwUzc cT16+HaNlE1bAU2R0j8lycd7yS4vkfxObDe2O5SqeS4W3KebHyYhv+FhEok0dCP/kA wo9bcn7vA0VLQ== From: Benjamin Date: Fri, 10 Nov 2023 16:46:26 +0100 Message-ID: <04fccf1e6952e13e2e89404bef218c540aae2e16.1699630991.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: 4.39 X-Spam-Score: 4.39 X-Migadu-Queue-Id: 46A8537330 X-Migadu-Scanner: mx10.migadu.com X-TUID: EqtWab11e2vE * 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 f9405ae2b9..3d2826f0ce 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6298,6 +6298,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