Add clojure-lsp.

This commit is contained in:
Daniel Ziltener 2023-12-19 16:44:14 +01:00
parent 9a94cc1978
commit 1452e93eef
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

@ -117,6 +117,34 @@ lets you focus on your code.")
and EDN, without the need of a running REPL.")
(license license:epl1.0)))
(define-public clojure-lsp
(package
(name "clojure-lsp")
(version "2023.10.30-16.25.41")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/clojure-lsp/clojure-lsp/releases/download/" version "/clojure-lsp-native-static-linux-amd64.zip"))
(sha256
(base32
"13hvvqfg5b7ffm8an9wlnk3cc0l9gnl2r8lzxadgfxfqsj452rlg"))))
(build-system binary-build-system)
(arguments
`(#:install-plan
'(("clojure-lsp" "/bin/"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "clojure-lsp" #o755))))))
(inputs
`(("gcc:lib" ,gcc "lib")
("zlib" ,zlib)))
(supported-systems '("x86_64-linux"))
(home-page "https://github.com/clojure-lsp/clojure-lsp")
(synopsis "Clojure & ClojureScript Language Server (LSP) implementation")
(description "The goal of this project is to bring great editing tools for Clojure/Clojurescript to all editors and programatically via its CLI and API. It aims to work alongside you to help you navigate, identify and fix errors, perform refactors and much more!")
(license license:expat)))
(define-public babashka
(package
(name "babashka")