Clojure updates

This commit is contained in:
Daniel Ziltener 2024-03-04 15:28:59 +01:00
parent 396006613a
commit 53b095af73
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

@ -85,7 +85,7 @@ lets you focus on your code.")
(define-public clj-kondo
(package
(name "clj-kondo")
(version "2023.12.15")
(version "2024.02.12")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append
@ -93,23 +93,20 @@ lets you focus on your code.")
version "/clj-kondo-" version "-linux-amd64.zip"))
(sha256
(base32
"1drgnhajvc12ja1c6s5gqkslyjvx5r5bj1a1apa4jgswn6xsr0vj"))))
"18aq155hiq2dzhlswp2i72wipxii5p9ic0wkgz126lk1sslj0pxr"))))
(build-system binary-build-system)
(arguments
`(#:patchelf-plan
'(("clj-kondo" ("gcc:lib" "zlib")))
#:install-plan
'(("./clj-kondo" "/bin/"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "clj-kondo" #o755))))))
(list #:patchelf-plan `'(("clj-kondo" ("gcc" "zlib")))
#:install-plan `'(("./clj-kondo" "/bin/"))
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "clj-kondo" #o755))))))
(native-inputs
`(("unzip" ,unzip)))
(list unzip))
(inputs
`(("gcc:lib" ,gcc "lib")
("zlib" ,zlib)))
(list `(,gcc "lib")
zlib))
(supported-systems '("x86_64-linux"))
(home-page "https://github.com/clj-kondo/clj-kondo")
(synopsis "Linter for Clojure code")
@ -120,37 +117,45 @@ and EDN, without the need of a running REPL.")
(define-public clojure-lsp
(package
(name "clojure-lsp")
(version "2023.12.29-12.09.27")
(version "2024.03.01-11.37.51")
(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
"0qwxjzyisdxc61a43df1rmk1pqifankg0g51sw6hlrjyw8sk06q5"))))
"1sf3zkvv25f6v32m095fgdgw0jck3vp2m3srbp60mwaxnqjq7pmd"))))
(build-system binary-build-system)
(arguments
`(#:install-plan
'(("./clojure-lsp" "/bin/"))))
'(("./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!")
(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")
(version "1.3.186")
(version "1.3.189")
(source (origin
(method url-fetch/tarbomb)
(uri (string-append "https://github.com/babashka/babashka/releases/download/v"
version "/babashka-" version "-linux-amd64.tar.gz"))
(sha256
(base32
"039ak593vmqrw3yhglfdh8rmvwj2aznwqfy6yvfca1wlk1827c3l"))))
"1gzra3y5iljjqi4rj1qxr3yniqla3qnhv881gkzrp788fwsvlmwv"))))
(build-system binary-build-system)
(arguments
`(#:patchelf-plan
@ -168,7 +173,7 @@ and EDN, without the need of a running REPL.")
(supported-systems '("x86_64-linux"))
(home-page "https://github.com/babashka/babashka")
(synopsis "Native, fast starting Clojure interpreter for scripting")
(description "Babashka is a native Clojure interpreter for scripting with fast startup. Its
main goal is to leverage Clojure in places where you would be using bash
otherwise.")
(description "Babashka is a native Clojure interpreter for scripting with
fast startup. Its main goal is to leverage Clojure in places where you would
be using bash otherwise.")
(license license:epl1.0)))