nongnu: clojure-lsp: Update to 2024.08.05-18.16.00 and support aarch64.
* nongnu/packages/clojure.scm (clojure-lsp): Update to 2024.08.05-18.16.00 and support aarch64.
This commit is contained in:
parent
ad966c3844
commit
b8edd6a692
|
@ -119,26 +119,39 @@ and EDN, without the need of a running REPL.")
|
||||||
(define-public clojure-lsp
|
(define-public clojure-lsp
|
||||||
(package
|
(package
|
||||||
(name "clojure-lsp")
|
(name "clojure-lsp")
|
||||||
(version "2024.03.13-13.11.00")
|
(version "2024.08.05-18.16.00")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch/zipbomb)
|
(method url-fetch/zipbomb)
|
||||||
(uri (string-append "https://github.com/clojure-lsp/clojure-lsp"
|
(uri (string-append "https://github.com/clojure-lsp/clojure-lsp"
|
||||||
"/releases/download/" version
|
"/releases/download/" version
|
||||||
"/clojure-lsp-native-static-linux-amd64.zip"))
|
"/clojure-lsp-native-linux-"
|
||||||
|
(cond ((target-aarch64?)
|
||||||
|
"aarch64")
|
||||||
|
((target-x86-64?)
|
||||||
|
"amd64"))
|
||||||
|
".zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1l6w55aragyf8rzy087iqw97xnpih5syjwhf0jwbgrqps2k44ms5"))))
|
(cond ((target-aarch64?)
|
||||||
|
"0y9inzyw30vnp10r1kmm0f1gkrq0bc63vwiq7lqc1wqjqv1211r4")
|
||||||
|
((target-x86-64?)
|
||||||
|
"1ixcisndcgr8i58rlf6ayvh6sjmvs4y1j1gnk4dhvssh7h66flhw"))))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:install-plan
|
(list
|
||||||
'(("./clojure-lsp" "/bin/"))
|
#:install-plan
|
||||||
#:phases
|
`'(("./clojure-lsp" "/bin/"))
|
||||||
(modify-phases %standard-phases
|
#:patchelf-plan
|
||||||
(add-after 'unpack 'chmod
|
(if (target-aarch64?)
|
||||||
(lambda _
|
`'(("clojure-lsp" ("gcc" "libc" "zlib")))
|
||||||
(chmod "./clojure-lsp" #o755))))))
|
#f)
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'chmod
|
||||||
|
(lambda _
|
||||||
|
(chmod "./clojure-lsp" #o755))))))
|
||||||
(inputs (list `(,gcc "lib") zlib))
|
(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")
|
(home-page "https://github.com/clojure-lsp/clojure-lsp")
|
||||||
(synopsis "Clojure & ClojureScript Language Server (LSP) implementation")
|
(synopsis "Clojure & ClojureScript Language Server (LSP) implementation")
|
||||||
(description "This package provides a Language Server for Clojure and ClojureScript
|
(description "This package provides a Language Server for Clojure and ClojureScript
|
||||||
|
|
Loading…
Reference in New Issue
Block a user