From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oMKLEa0T9WZr+AAAqHPOHw:P1 (envelope-from ) for ; Thu, 26 Sep 2024 07:56:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oMKLEa0T9WZr+AAAqHPOHw (envelope-from ) for ; Thu, 26 Sep 2024 09:56:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PCtT2Ueo; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Ji5s+5R6; dmarc=pass (policy=none) header.from=gnu.org; 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=1727337388; h=from:from:sender:sender:reply-to: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=tpAyUM4MwghAWtqblsVWELnjiejju+2euWt4PHzRs+A=; b=pg4tRJ0elwu5ukQ8Es7es2LugJO7FcPlgv2e0z47CuuEjgAFJkeH48IlxwDJW5jQk16msF eSRLvEyeG/F/DL7dsgdmYNcgtekhtmKkZu4D8COdZ9TuBuE8/SQ4sj92KgucAiR7lLhprH Jz18Ydwwe+f3HEAtuSCVXsg4bbN0lAZt8Cynv8dV/qnYilruRi96DK2URK5ltAcE8sYTJg 9UfrQ+IWZ4agvdomCrhfR0T7h2lHaAZezBUlC3oAq0L5U7bAJwEHQ/3vBSLDEkON2SkopY 6B0ZusqNQiAqUcwRLMLSI0ruTr2ij3VIZky1vstuL0CSB990wqhNTfmM1ZHExg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727337388; a=rsa-sha256; cv=none; b=qeSzgYPKlyKRAvkE6EZcp72/8sBgQMav5ZjzEaPJt9c9GOFnBJ16isO87pci9lFQ6bVwqd 0ECWjWYrt3rfb/8xIZ46ONoot5iXrbNVvuXo9GhSyoEVKKOTeP7QPGmfj+ibrYBIVKMLLS CF0OgZcgVzOB0IauicyTSPdhlh/vuFAUcJ2Mla07GBPlhlmKo0pjD3xPJWP/RgTceWcWtT f6VSgFqnPnjvjDoi0s/9QbW74+BkIGco9isR3uLm+5Oll7pURyoD4Ujgrr2vVLlolDuyxw pqeknhc7ANlWxzvk7QsXU24bSFtaGc76nDP7M8y42mqX/HR1WuBaQteezBEDUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PCtT2Ueo; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Ji5s+5R6; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 5A6C7D365 for ; Thu, 26 Sep 2024 09:56:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stjM6-0007fo-Ri; Thu, 26 Sep 2024 03:56:07 -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 1stjLi-00061Q-69 for guix-patches@gnu.org; Thu, 26 Sep 2024 03:55:50 -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 1stjLh-0007X2-BZ for guix-patches@gnu.org; Thu, 26 Sep 2024 03:55:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=tpAyUM4MwghAWtqblsVWELnjiejju+2euWt4PHzRs+A=; b=PCtT2UeoJulayOqfL3I0a52ovSKwWgoZB/9OfzerG7u7tO3hEm5SmnOtjkfkDzjfKjA283h9JfYXadYm6LvsoF7wS/Blv6Zr2eJ8sBmSIbOgY21/nuiyABC2RtIy4Umiod608vZzLh4XoBFzhEXxBx0sFfLUWgOcSNeJS9djmABz+T5R7Mc7sTMULt3SbIebyfbTmIwsPHg+owj0BJILVyF5/aZmTVS1pyI55bdhXdYLFI92+y+7bVMvGhtf28c1P5mn9yJQUmsTBo23rSlAskQNy0754nyMblDyq5jXC+/YdYNEZkUH2QkLNHsivc4KPcfJPKQzRR1EEhyVQBglSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stjM4-0003Cw-3T; Thu, 26 Sep 2024 03:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73466] [PATCH v2 02/15] gnu: Add ocaml-jsonrpc. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2024 07:56:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73466@debbugs.gnu.org Cc: Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 73466-submit@debbugs.gnu.org id=B73466.172733732111633 (code B ref 73466); Thu, 26 Sep 2024 07:56:04 +0000 Received: (at 73466) by debbugs.gnu.org; 26 Sep 2024 07:55:21 +0000 Received: from localhost ([127.0.0.1]:51763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stjLM-00031P-H0 for submit@debbugs.gnu.org; Thu, 26 Sep 2024 03:55:21 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:36021 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stis5-0000aL-HR for 73466@debbugs.gnu.org; Thu, 26 Sep 2024 03:25:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1727335468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tpAyUM4MwghAWtqblsVWELnjiejju+2euWt4PHzRs+A=; b=Ji5s+5R671dRPELumYDDesFUYRpelA3efLzNzicMftP2vacSoxBvjWDj7xHSWtBFxMZYaA f9FwdDYC7DPu2OSv06D4iMT6MR1O3FnyuX3bg7yBRFCUzjT0ANyLsKwT0WbX9NBWzX4C9X C/utEMHMGMk4Aa7MrYeW0MEEERhmbr0VGbzaFc6h8Siiz420cMecGOJiU9tl5X73AHr3pv ZrpIKtPlACeQATXGxMrt5oNoQaCbz8nQjCfIXoZWAtXDx9cV9PA3axLH2MYggLnn3/UnNm UVvwsPU6GOXdeRTLHCjnQ5tMEBctIbdo9bNDCy7RxacNaz7/9SJsaFjkiKY/nw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c6b18c14 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <73466@debbugs.gnu.org>; Thu, 26 Sep 2024 07:24:28 +0000 (UTC) Date: Thu, 26 Sep 2024 09:23:32 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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 X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 5A6C7D365 X-TUID: jnVQKx5p7KQ3 * gnu/packages/ocaml.scm (ocaml-jsonrpc): Add variable. Change-Id: I0486038d2d5936ca462413eca605c356c00d39d7 --- gnu/packages/ocaml.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a17b46a5b9..7dcc17357d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4005,6 +4005,45 @@ (define-public ocaml-jsonm without a complete in-memory representation of the data.") (license license:isc))) +(define-public ocaml-jsonrpc + (package + (name "ocaml-jsonrpc") + (version "1.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml/ocaml-lsp") + (commit version))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet #~(for-each delete-file-recursively + '("jsonrpc-fiber" + "lsp" + "lsp.opam" + "lsp-fiber" + "ocaml-lsp-server" + "ocaml-lsp-server.opam"))) + (sha256 + (base32 + "1w1m2mi7va3wcwgvgzqd3af6hrhx5zzyr3hqa228pcimp44w6f0h")))) + (build-system dune-build-system) + (arguments `(#:package "jsonrpc")) + (propagated-inputs (list ocaml-odoc)) + (native-inputs (list dune-stdune + ocaml-dune-build-info + ocaml-ppx-expect + ocaml-ppx-inline-test + ocaml-ppx-yojson-conv-lib + ocaml-uutf + ocaml-yojson)) + (home-page "https://github.com/ocaml/ocaml-lsp") + (synopsis "JSON-RPC protocol implementation") + (description + "This package provides a JSON-RPC implementation as described in +https://www.jsonrpc.org/specification.") + (license license:isc))) + (define-public ocaml-ocp-indent (package (name "ocaml-ocp-indent") -- 2.45.2