GNU bug report logs - #77453
[PATCH] gnu: Add sbcl-alive-lsp.

Previous Next

Package: guix-patches;

Reported by: Grigory Shepelev <shegeley <at> gmail.com>

Date: Wed, 2 Apr 2025 10:31:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> friendly-machines.com>

Full log


Message #11 received at 77453 <at> debbugs.gnu.org (full text, mbox):

From: Grigory Shepelev <shegeley <at> gmail.com>
To: 77453 <at> patchwise.org
Cc: sharlatanus <at> gmail.com
Subject: [PATCH] gnu: sbcl-alive-lsp [fixes from @sharlatan comments]
Date: Sat, 19 Apr 2025 20:51:34 +0300
1. Fixed version
2. Fixed inputs ident
3. Fixed synopsis and description

Also had typo in lsp start defun. Here is the proper one:
(defun lsp-lisp-alive-start-ls ()
 "Start the alive-lsp."
 (interactive)
 (when-let (((lsp--port-available "localhost" lsp-lisp-alive-port)))
  (lsp-async-start-process #'ignore #'ignore
   (executable-find "guix")
   "shell"
   "sbcl"
   "sbcl-alive-lsp"
   ;; "-D" "-f" "guix.scm" ;; when working on some sbcl project packed in guix
   "--"
   "sbcl"
   "--eval"
   "(require :asdf)"
   "--eval"
   "(asdf:load-system :alive-lsp)"
   "--eval"
   (format "(alive/server::start :port %s)"
    lsp-lisp-alive-port))))
---
 gnu/packages/lisp-xyz.scm | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4c9a53c3cb..3b0e561797 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -31781,27 +31781,26 @@ (define-public ecl-usocket
 (define-public sbcl-alive-lsp
  (package
   (name "sbcl-alive-lsp")
-  (version "0.0.1")
+  (version "0.2.11")
   (source
    (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/nobody-famous/alive-lsp")
-          (commit "491251c2897d9251d04301061065e2c23171f6a0")))
+          (commit (string-append "v" version))))
     (file-name (git-file-name "sbcl-alive-lsp" version))
     (sha256
-     (base32 "112zk8hkg71h7bbdmqfgxqblccb2bs8wcl6f7nrjjm1hy3cf1919"))))
+     (base32 "1dmgglrg7294vx8qacc5d2hkhfrids1iacihj2l8czrvwc3i19yz"))))
   (build-system asdf-build-system/sbcl)
   (inputs
-   (list
-    sbcl-usocket
-    sbcl-cl-json
-    sbcl-bordeaux-threads
-    sbcl-flexi-streams))
+   (list sbcl-usocket
+         sbcl-cl-json
+         sbcl-bordeaux-threads
+         sbcl-flexi-streams))
   (home-page "https://github.com/nobody-famous/alive-lsp")
-  (synopsis "Common Lisp LSP: Alive")
-  (description "This is the language server for Alive:
-  The Average Lisp VSCode Environment.")
+  (synopsis "Common Lisp Alive LSP")
+  (description "Language Server Protocol implementation for use with the
+    @url{https://github.com/nobody-famous/alive, Alive} Visual Studio Code
 extension")
   (license license:unlicense)))

 (define-public cl-alive-lsp
--
2.49.0
Message-ID: <87cyd8114t.fsf <at> gmail.com>




This bug report was last modified 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.