Merge branch 'aarch64-clojure-lsp' into 'master'

nongnu: clojure-lsp: Update to 2024.08.05-18.16.00 and support aarch64.

See merge request nonguix/nonguix!562
This commit is contained in:
r0man 2025-02-07 19:31:53 +00:00
commit 3e679852e1

View File

@ -119,26 +119,39 @@ and EDN, without the need of a running REPL.")
(define-public clojure-lsp
(package
(name "clojure-lsp")
(version "2024.03.13-13.11.00")
(version "2024.08.05-18.16.00")
(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"))
"/clojure-lsp-native-linux-"
(cond ((target-aarch64?)
"aarch64")
((target-x86-64?)
"amd64"))
".zip"))
(sha256
(base32
"1l6w55aragyf8rzy087iqw97xnpih5syjwhf0jwbgrqps2k44ms5"))))
(cond ((target-aarch64?)
"0y9inzyw30vnp10r1kmm0f1gkrq0bc63vwiq7lqc1wqjqv1211r4")
((target-x86-64?)
"1ixcisndcgr8i58rlf6ayvh6sjmvs4y1j1gnk4dhvssh7h66flhw"))))))
(build-system binary-build-system)
(arguments
`(#:install-plan
'(("./clojure-lsp" "/bin/"))
(list
#:install-plan
`'(("./clojure-lsp" "/bin/"))
#:patchelf-plan
(if (target-aarch64?)
`'(("clojure-lsp" ("gcc" "libc" "zlib")))
#f)
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "./clojure-lsp" #o755))))))
(inputs (list `(,gcc "lib") zlib))
(supported-systems '("x86_64-linux"))
(supported-systems '("aarch64-linux" "x86_64-linux"))
(home-page "https://github.com/clojure-lsp/clojure-lsp")
(synopsis "Clojure & ClojureScript Language Server (LSP) implementation")
(description "This package provides a Language Server for Clojure and ClojureScript