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