From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJ0KFCvBd2At1wAAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 06:29:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2FDsDSvBd2DwTAAA1q6Kng (envelope-from ) for ; Thu, 15 Apr 2021 04:29:31 +0000 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 D89F618166 for ; Thu, 15 Apr 2021 06:29:30 +0200 (CEST) Received: from localhost ([::1]:54244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWtdC-0000z9-11 for larch@yhetil.org; Thu, 15 Apr 2021 00:29:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWtcl-0000ZA-FN for guix-patches@gnu.org; Thu, 15 Apr 2021 00:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWtcl-0001lP-8N for guix-patches@gnu.org; Thu, 15 Apr 2021 00:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWtcl-0007iP-3D for guix-patches@gnu.org; Thu, 15 Apr 2021 00:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47789] [PATCH 3/6] gnu: Add java-eclipse-lsp4j packages. Resent-From: Mike Gerwitz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Apr 2021 04:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47789@debbugs.gnu.org Received: via spool by 47789-submit@debbugs.gnu.org id=B47789.161846093729607 (code B ref 47789); Thu, 15 Apr 2021 04:29:03 +0000 Received: (at 47789) by debbugs.gnu.org; 15 Apr 2021 04:28:57 +0000 Received: from localhost ([127.0.0.1]:36219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWtce-0007hS-Vk for submit@debbugs.gnu.org; Thu, 15 Apr 2021 00:28:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWtcb-0007gj-Vo for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 00:28:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57383) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWtcW-0001YP-QE for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 00:28:48 -0400 Received: from localhost ([::1]:48857 helo=mikegerwitz-pc) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lWtcV-0006Fa-8x for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 00:28:47 -0400 From: Mike Gerwitz In-Reply-To: Date: Thu, 15 Apr 2021 00:26:41 -0400 References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) X-From-Line: ac4dc52a97826de964853097feb19599ad630199 Mon Sep 17 00:00:00 2001 Message-Id: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618460971; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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; bh=Fcsq4kVShrCy4572vKmJJUUclUAa6C7DCPcWT5v0WpE=; b=YrKWUTvJ4QCPVHxI4ySeq0zctfCa/GWiLGMTK6OZdF67JLiI6FlxMPl7UDb9k/WBVfXfMN sU+vYZZOlrBfXfY9wGgX8BvExqTr0hLbSanMo7RNHVVTFOxGlU8W/sVocA3WP5YMn+m7kK 9grWLMtmuUJj4o143GlXHOxmWNgIKqjLij/1sZ/w1E76O96rAAC7NRXdi/PFSiM2jNcV7c BwxtuLTkx2zq/+5+jF0qRFbCWuhFOgLFlRKreLXNo9c58ilo8IwMIS2Pfjc6pzI5uShHJR i+F1TLS5XRiYJuSDuWiViftiqZUFrl/D18SqtFHz7Ghr0s4wxrKiV/DPDmCy5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618460971; a=rsa-sha256; cv=none; b=K5JmazqNAXZmHK15cj3g6KBkOhCOxfttYl3eekyis8kwNT0xfrpQawFxBu0ezVYpRC9siq X3Z+5MV0Gc4CP0rRO45ndkKrVexKmH8r0FZdFAZCXHdqzVT05SByyQX4dbwInaluNrdsWX vbckheblbju54FPa10NMj8UJdQFfzysgLgeAxX6OBfZdIytX8mzLottaq0EZmjdtgNOr7H yXsPjRIpX+x0RaastEiHt5hmHOYcxZ4AnzhLrY1hwWgLLlrfc0oarJCWkCauPP80ogWrNz xx0IpQ5y47uczRWkWz8cN3NO+DCY0abxsn4BYQ4sKS/92X144TAeJcATu5QqwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D89F618166 X-Spam-Score: -0.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: SCZr8s2eE0Aq --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable All of these packages are components of java-eclipse-lsp4j, packaged independently. This contains only what was needed for tla2tools, and so there are parts of java-eclipse-lsp4j that are not packaged. Note that this does not package the latest version (0.12.0 at the time of writing)---it depends on the Xtend language, which is a huge packaging effort. 0.10.0 is the version expected by tla2tools, for which this dependency was introduced. * gnu/packages/java.scm (java-eclipse-lsp4j-common): New variable. (java-eclipse-lsp4j-jsonrpc): New variable. (java-eclipse-lsp4j-jsonrpc-debug): New variable. (java-eclipse-lsp4j-generator): New variable. (java-eclipse-lsp4j-debug): New variable. =2D-- gnu/packages/java.scm | 104 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b0e67b2f6e..e82e828df0 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7547,6 +7547,110 @@ means for generating files and compiling new Java c= lasses based on annotations found in your source code.") (license license:epl2.0))) =20 +(define java-eclipse-lsp4j-common + (package + (name "java-eclipse-lsp4j-common") + (version "0.10.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eclipse/lsp4j") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17srrac0pkpybwwc21rzdvn762zzl9m80rlqihc9b4l55hkqpk98")))) + (build-system ant-build-system) + (home-page "https://eclipse.org/lsp4j/") + (synopsis "LSP4J common package") + (description "Eclipse LSP4J provides Java bindings for the Language +Server Protocol and the Debug Adapter Protocol. This package is a common +definition intended to be inherited by other packages.") + (license license:epl2.0))) + +(define-public java-eclipse-lsp4j-debug + (package + (inherit java-eclipse-lsp4j-common) + (name "java-eclipse-lsp4j-debug") + (arguments + `(#:jar-name "eclipse-lsp4j-debug.jar" + #:jdk ,openjdk11 + #:tests? #f; tests fail obscurely + #:source-dir "org.eclipse.lsp4j.debug/src/main/java" + #:test-dir "org.eclipse.lsp4j.debug/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-xtend + (lambda _ + (copy-recursively "org.eclipse.lsp4j.debug/src/main/xtend-gen" + "org.eclipse.lsp4j.debug/src/main/java") + #t))))) + (native-inputs + `(("java-junit" ,java-junit))) + (inputs + `(("java-gson" ,java-gson-2.8.6) + ("java-eclipse-lsp4j-generaor" ,java-eclipse-lsp4j-generator) + ("java-eclipse-lsp4j-jsonrpc" ,java-eclipse-lsp4j-jsonrpc) + ("java-eclipse-lsp4j-jsonrpc-debug" ,java-eclipse-lsp4j-jsonrpc-deb= ug) + ("java-eclipse-xtext-xbase-lib" ,java-eclipse-xtext-xbase-lib))) + (synopsis "Eclipse LSP4J Java bindings for the Debug Server Protocol") + (description "Eclipse LSP4J provides Java bindings for the Language +Server Protocol and the Debug Adapter Protocol. This package contains its +LSP4J Java bindings for the Debug Server Protocol."))) + +(define-public java-eclipse-lsp4j-generator + (package + (inherit java-eclipse-lsp4j-common) + (name "java-eclipse-lsp4j-generator") + (arguments + `(#:jar-name "eclipse-lsp4j-generator.jar" + #:jdk ,openjdk11 + #:tests? #f; no tests + #:source-dir "org.eclipse.lsp4j.generator/src/main/java")) + (inputs + `(("java-eclipse-lsp4j-jsonrpc" ,java-eclipse-lsp4j-jsonrpc))) + (synopsis "Eclipse LSP4J Generator") + (description "Eclipse LSP4J provides Java bindings for the Language +Server Protocol and the Debug Adapter Protocol. This package contains its +LSP4J code generator for Language Server Protocol classes."))) + +(define-public java-eclipse-lsp4j-jsonrpc + (package + (inherit java-eclipse-lsp4j-common) + (name "java-eclipse-lsp4j-jsonrpc") + (arguments + `(#:jar-name "eclipse-lsp4j-jsonrpc.jar" + #:jdk ,openjdk11 + #:source-dir "org.eclipse.lsp4j.jsonrpc/src/main/java" + #:test-dir "org.eclipse.lsp4j.jsonrpc/src/test")) + (native-inputs + `(("java-junit" ,java-junit))) + (inputs + `(("java-gson" ,java-gson-2.8.6))) + (synopsis "Java JSON-RPC implementation") + (description "Eclipse LSP4J provides Java bindings for the Language +Server Protocol and the Debug Adapter Protocol. This package contains its +JSON-RPC implementation."))) + +(define-public java-eclipse-lsp4j-jsonrpc-debug + (package + (inherit java-eclipse-lsp4j-common) + (name "java-eclipse-lsp4j-jsonrpc-debug") + (arguments + `(#:jar-name "eclipse-lsp4j-jsonrpc-debug.jar" + #:jdk ,openjdk11 + #:source-dir "org.eclipse.lsp4j.jsonrpc.debug/src/main/java" + #:test-dir "org.eclipse.lsp4j.jsonrpc.debug/src/test")) + (native-inputs + `(("java-junit" ,java-junit))) + (inputs + `(("java-eclipse-lsp4j-jsonrpc" ,java-eclipse-lsp4j-jsonrpc) + ("java-gson" ,java-gson-2.8.6))) + (synopsis "Java JSON-RPC implementation (debug protocol)") + (description "Eclipse LSP4J provides Java bindings for the Language +Server Protocol and the Debug Adapter Protocol. This package contains its +JSON-RPC implementation's debug protocol."))) + (define-public java-eclipse-xtext-xbase-lib (package (name "java-eclipse-xtext-xbase-lib") =2D-=20 Mike Gerwitz Activist For User Freedom | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEtyLNo03iHAANpWtgjJF7f13FG6IFAmB3wIQACgkQjJF7f13F G6J77RAAkUrTr0f+TCn710Sskp+tpSeyMwp1/IRPDBLTHLj3dAtxGYwnkGW06toL D9Ty9M4IVDhRMl7PkDk7NPMRnVIj/Ez1cfqSlFRZCngNYWoPcSvbPHSflhkSp6v7 WOz1mmB1NjTuc4EApgCecG6UaVBGRMcL7Wfw1jMpzsAOlZ+YWi4162EzqJLQp/r6 4u81S+WEgPUcbnD0NP+aVrvCu5ZQGko3aCiWFIVeI5hzSbpeankOVSqVuk69KYvJ 9cQKYJZyGt1owQHdksHMyMGt0B8L7AU2i4MTL/wPhN6Xk/0afStQA5RGXaERA8PF GN60U3kB7gLrHswGB8bp8QRpeUWxR8kgZMJiWGtABefHH4Q4Id4BA8OVX9BQmkI6 c8Jn+SNkS6dvI5vjDpi87Zbd/BPPZPum/u04x6ciuh0FqZ1opJx3foXFhscyrgCL wxq6g60GlvWSN1QrkApUWM/aUAttAHbP9yUvAA4/McwnlqG9Mu9xSbwPHUwg58no WAeNyuLPFt40Kq5MNrDUxI5HWg+/m3/3tJksmWBfWX8oceMs+VNCrgcnTq+UA31R kx+IvWsyx4cOapyfN/H/pchgDP1arVo8c2Ae7gfLX94wAQ+1/AE8HvWL1ISY2z8O UnnsoknPgK0LndHNlvyBVTNH5qJJMg9qWFw60wZFLAr8JvgN4wc= =AyRh -----END PGP SIGNATURE----- --=-=-=--