From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uMoiNx4ck2RmKAAASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 17:49:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OYcNx4ck2QrGgEA9RJhRA (envelope-from ) for ; Wed, 21 Jun 2023 17:49:50 +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 BB3CEFF9A for ; Wed, 21 Jun 2023 17:49:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qC052-000641-LN; Wed, 21 Jun 2023 11:49:12 -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 1qC04x-00061o-8R for guix-patches@gnu.org; Wed, 21 Jun 2023 11:49:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qC04w-0003dY-VV for guix-patches@gnu.org; Wed, 21 Jun 2023 11:49:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qC04w-0002MI-Qe; Wed, 21 Jun 2023 11:49:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH 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: Wed, 21 Jun 2023 15:49:06 +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.16873625208838 (code B ref 64209); Wed, 21 Jun 2023 15:49:06 +0000 Received: (at 64209) by debbugs.gnu.org; 21 Jun 2023 15:48:40 +0000 Received: from localhost ([127.0.0.1]:34039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC04W-0002IM-0r for submit@debbugs.gnu.org; Wed, 21 Jun 2023 11:48:40 -0400 Received: from mail.uvy.fr ([146.59.197.40]:46338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC04Q-0002FT-IN for 64209@debbugs.gnu.org; Wed, 21 Jun 2023 11:48:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1687362505; bh=5Y9MvB1RXIlFPFJ3IPQHlMW5acSZxEPioE2glq53rYs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cgSFFCBm1/RY63FjEUijthdK2/3lNFtAbelEyFI6FsUPjeLnbFjRC9+WzS6XoJtdx vMImVCbJsocP1wU2H7XaH27IICUkap/0b8dfNo1kMsu5LzCBl03mi5x5CkM07PtEJ9 r0DGA97szRAH2NbiAiMljV8qqZ+Hhkpyg0Y6NK1VNlE+F4j8woeKw1xKVQyadVGSKq cJTAyNWwKLhP2RZkyET3BYlqfbFBciDNcgh0a2i7H1q5Fmz+Q7p66Dh2u9u3HJQ07g xX5abLeyEzHXoRdL1XtVHwt9/PjdiUzFjHCf5P+elPnQqLNOYBVqMN1SfBQFt3sFvj VqUq6wADvsjoQ== From: Benjamin Date: Wed, 21 Jun 2023 17:48:28 +0200 Message-Id: <083d46189e6881fbcaf5b1d391164a5d74a9bf4f.1687361650.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.40.1 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687362590; a=rsa-sha256; cv=none; b=bJPKXmZvj6QnZZzEX7LC07YocBnBxzMGZ3kTBpxdm8PbxFR/N/u/nmlPRaxD7xrjilsRHF XztJWQeZDodMthaFLROEBS35jmAl1av2byZ9tmiKVHKXGW9eSWvcn5VzkOYJNqem2mgPDz IIIG+gtfU69C4YvFnyhKfJO9YiDe24k8qEyP811LW+lXOmpVwCBdZoo81RUvELwrw3quKl EgyeMWC+iWVus9dIl8f/k1B1HkFjWIyuQyR8A5gpI/+nwCwIdooeBHKuaYYgcakbktP3Wq vaPMBTrHTyMTNG+nYg/unfoQNmDCdSKSnHcGujk/bzx+9zyj7kwAbkCmWOCn8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=cgSFFCBm; 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=1687362590; 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=bmDd5b5xShVcThEbI8UUy7X6fHZi89/ED3Z9A31QvTk=; b=ITkztk11W6SjcYkhrrATOQWGUyEPhWXS/w+8FZGfz4eezvB08EDEdc5WMMPH/Fec/tkM1X vPmMpVZoKWYScFJwz2EAfh1ItKvU6LvdCXgBdKwpw4GYsQbTbX4VuTK9WyX3R/TLJM9UPt sT0WgYbcPlQEPSw+5rvs9E6dQsnLpuMxEay9VgpcVsyZdx48+/BWN5VrFgTx8nDI8htxOK CwjzoW1Dry3479VgUR1/CwFQLz4HxxVDVyI4WOWJ4d6EPcu8RBDJhs3lRVxfgEhM1ik3ew YJOUuee578RWsaWh12yAT9leXAnjimiD8WHrMHkRAebI3CIM/UIj5N85Sijltw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=cgSFFCBm; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.15 X-Spam-Score: -1.15 X-Migadu-Queue-Id: BB3CEFF9A X-TUID: vAjD/IW6RhhF * 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 726f47a0e4..5306c7881a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6331,6 +6331,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.1") + (home-page "https://github.com/ocaml/ocaml-lsp") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (sha256 + (base32 + "09410g0mmwhgcrxyygdzabmx26ahsa5madcs38ah2b6jygic4dzb")))) + (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 "An LSP server for OCaml.") + (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.40.1