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 GA5oAzroeGDtRwEAgWs5BA (envelope-from ) for ; Fri, 16 Apr 2021 03:28:26 +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 qO3gODnoeGCcUgAA1q6Kng (envelope-from ) for ; Fri, 16 Apr 2021 01:28:25 +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 8CF43F345 for ; Fri, 16 Apr 2021 03:28:25 +0200 (CEST) Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXDHU-0006MM-Pt for larch@yhetil.org; Thu, 15 Apr 2021 21:28:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXDGM-0005tR-Mn for guix-patches@gnu.org; Thu, 15 Apr 2021 21:27:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXDGB-0003Jb-TN for guix-patches@gnu.org; Thu, 15 Apr 2021 21:27:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXDGB-0008Rs-Qf for guix-patches@gnu.org; Thu, 15 Apr 2021 21:27: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: Fri, 16 Apr 2021 01:27: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.161853641532416 (code B ref 47789); Fri, 16 Apr 2021 01:27:03 +0000 Received: (at 47789) by debbugs.gnu.org; 16 Apr 2021 01:26:55 +0000 Received: from localhost ([127.0.0.1]:39642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXDG2-0008Qm-H0 for submit@debbugs.gnu.org; Thu, 15 Apr 2021 21:26:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXDG0-0008QT-7i for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 21:26:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47760) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXDFr-0003F7-15 for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 21:26:46 -0400 Received: from localhost ([::1]:39231 helo=mikegerwitz-pc) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lXDFd-0000ef-Cb for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 21:26:41 -0400 From: Mike Gerwitz In-Reply-To: Date: Thu, 15 Apr 2021 21:24:04 -0400 References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) X-From-Line: a52595a2ed12816b28996f513bb3e095ca548fea 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=1618536505; 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=SOeUIrk0kLcFcKPo536KLnA5/HIDQTZkGaZq3Hu7TYo=; b=i2LZamMur13TPHmanWOk/6wsMenUfJLinPSxe0kIrQFOXlyqEx8UDpe9F7WooadIqhWbAN 5WEF+xVvTRpNd329HLtmcDYIp6i4PQrSUXQl6N/LTovLlSO2l2w7HgDy8AlVyCr95B949h oLd4Xb5QXRrsl4uTtdJ7pP2o4+11QhoBEns9t4p8IpngfSvL4zHVaQUjwhgFKGfrYlyVeQ 8DN4fvQmUks8mBTAP9dh2q3xpJRadIjnL5/K3jxlD+P4FK+hwRIGArrYwZ8Y1+5d6RpZgP wB70wMDRDrD7H1lz2HnDwtJsmqmr4eFxWU/6QySIHwLtAkefqzqCb5LT6ie4DQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618536505; a=rsa-sha256; cv=none; b=p/QLBQAT2H6JhGn0GRcmJn2pLjR5i0FGEDITAbMVInrq7/1BxMwWLE4w1ll4AH8GoFD6kw h+j+e/iOEpqd0MHqLafBWk8hexmhZbjyvxj+lDh1aQLbd1Qbp0uQZaPpl9xkbTcO+GTY7O js6d4yt9Qr4ygNaHpVkvndizc779N2jaPFFaQKpmZPWPn/wMzH+HMdQAP8bjAV2dIZJ4fQ rjycXwZFtoZ8rgGdfVzkEGrRr50vIP7mT4ZPCctCd07sHsPQFWGGqwq+rSZEKu6EZ5dlfS avcYjmXwJK1yW6CPR+1lv0tzbmp9wTZfxOVtlWX0XAwNJH9kINezhZYEmP2x/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.54 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: 8CF43F345 X-Spam-Score: -1.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: PgbcW2NA8p0z --=-=-= 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 | 103 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 4a80fef04f..b4e4cafddb 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7547,6 +7547,109 @@ 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 with reflection errors + #: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"))))= )) + (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----- iQIzBAEBCgAdFiEEtyLNo03iHAANpWtgjJF7f13FG6IFAmB45zYACgkQjJF7f13F G6JAEA//eV53GBp6S7bqPZ5kA0dmkpVq1Emelixf70eI0jx2PPFrst5AF2MEGrs3 VFt/s9f2wigofnxOgmP9F8zy5X2YX5YLHH+c8HtC6pjV7MSogbwMjLPFOwxFdV0i WLAPFWbI0PmGOSrrk4yVctFW27cbIq+SLNG/JRvFWw/P+QLoNM2OwTbg6Zo9EQWa EdaPvaBJpWHN+h0reC/jGBLxu13YlxQNmiVW9gCGBQUrLeNGHgCUlsb5pPCtpN+O WzCZpREdB3NRER4RzsO7CRewKnA4CPPAPTypxz3HpMsBc5mTsdy+LqA4f0+Dwh9Y mkCCyAUW2t1BBXme/ejdUOJw2XIoTdatHJafYSi6biTtSqKcilo45h4To1kfb3JJ TQprt/2/NBlbkdkL/RrLKotiLz9vtyz6iNNxSTqZluLOpipKDdt/JaWfKatRMKU6 2XznXFjqR6WBmulkHMgvgnqn1C9fzJb9Yq9L5pbVHtKv8lZqZN4UkmCOZi8W6AnE UZ+nGv4eDysMv0j14+HB6qWA9rOmfofMrTIKDCPSzWy7L3jUPQlhF4iQOZm0a/8M l42yIFpEromEupxHYcWMOCEfuy7BT7QIsp93LYm+Neq4qXeXouMHoAC4FVPg/pC5 kTPiC6ZKLACAQbWyJJgCrcAXAaaaaDOHdhYKOgIxTHccWN4MwBg= =Pyst -----END PGP SIGNATURE----- --=-=-=--