Subject: [PATCH] gnu: emacs-lsp-java: Update to 3.1-1.4909c14

From: Rostislav Svoboda <[email-masked]>
Date: Thu, 28 Nov 2024 00:42:12 +0100

* gnu/packages/emacs-xyz.scm (emacs-lsp-java): Update to 3.1-1.4909c14.

A.o. it contains the https://github.com/emacs-lsp/lsp-java/pull/317.

Change-Id: I16eb365d0fd7b14cd2bdf837c009c931e01ca607
---
 gnu/packages/emacs-xyz.scm | 53 +++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ad6933dc0..2c46b4f77c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -32733,32 +32733,33 @@ (define-public emacs-libyaml
       (license license:gpl3+))))
 
 (define-public emacs-lsp-java
-  (package
-    (name "emacs-lsp-java")
-    (version "3.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/emacs-lsp/lsp-java")
-                    (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1h0hqgjpk5mbylma1fkva0vx45achf0k7ab2c5y8a2449niww90h"))))
-    (build-system emacs-build-system)
-    (propagated-inputs
-     (list emacs-dap-mode
-           emacs-lsp-mode
-           emacs-markdown-mode
-           emacs-dash
-           emacs-f
-           emacs-ht
-           emacs-request
-           emacs-treemacs))
-    (home-page "https://github.com/emacs-lsp/lsp-java/")
-    (synopsis "Java support for lsp-mode")
-    (description "Emacs Java IDE using Eclipse JDT Language Server.")
-    (license license:gpl3+)))
+  (let ((commit "4909c14b9012eed669a9c3f11a8df055d5bb8a0e")
+        (revision "1"))
+    (package
+      (name "emacs-lsp-java")
+      (version (git-version "3.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-lsp/lsp-java")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0qw824vdqk92r8hrrjsi7pd00rw60wf5jfjk1x3nhs06hijs0x0s"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-dap-mode
+                               emacs-lsp-mode
+                               emacs-markdown-mode
+                               emacs-dash
+                               emacs-f
+                               emacs-ht
+                               emacs-request
+                               emacs-treemacs))
+      (home-page "https://github.com/emacs-lsp/lsp-java/")
+      (synopsis "Java support for lsp-mode")
+      (description "Emacs Java IDE using Eclipse JDT Language Server.")
+      (license license:gpl3+))))
 
 (define-public emacs-lsp-metals
   (let ((commit "01060e9df33bb077ba6bb56ccfebc140aef8f8f3")

base-commit: 892cfdeffb2caf963087420e18c15a77d0662a24
-- 
2.46.0