From 1452e93eef046f24629d604fc285ba76faf08869 Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Tue, 19 Dec 2023 16:44:14 +0100 Subject: [PATCH] Add clojure-lsp. --- zilti/packages/clojure.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/zilti/packages/clojure.scm b/zilti/packages/clojure.scm index da0dc43..bc856bb 100644 --- a/zilti/packages/clojure.scm +++ b/zilti/packages/clojure.scm @@ -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")