Merge branch 'aarch64-babashka' into 'master'
nongnu: babashka: Update to 1.12.194 and support aarch64. See merge request nonguix/nonguix!563
This commit is contained in:
commit
7577d96885
|
@ -151,28 +151,39 @@ perform refactors and more.")
|
|||
(define-public babashka
|
||||
(package
|
||||
(name "babashka")
|
||||
(version "1.3.189")
|
||||
(version "1.12.194")
|
||||
(source (origin
|
||||
(method url-fetch/tarbomb)
|
||||
(uri (string-append "https://github.com/babashka/babashka"
|
||||
"/releases/download/v" version "/babashka-"
|
||||
version "-linux-amd64.tar.gz"))
|
||||
version "-linux-"
|
||||
(cond ((target-aarch64?)
|
||||
"aarch64")
|
||||
((target-x86-64?)
|
||||
"amd64"))
|
||||
"-static.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gzra3y5iljjqi4rj1qxr3yniqla3qnhv881gkzrp788fwsvlmwv"))))
|
||||
(cond ((target-aarch64?)
|
||||
"0sxv0dqfvn98p6ki6m0awrcww3zgj5c1qx4s0sdphsj3pwg4w754")
|
||||
((target-x86-64?)
|
||||
"0m0p3zq7m9zaj24rx7qm2sdxncg112yayy6l22dsxlxj6fpylf1b"))))))
|
||||
(build-system binary-build-system)
|
||||
(arguments
|
||||
`(#:patchelf-plan
|
||||
'(("bb" ("gcc" "zlib")))
|
||||
#:install-plan
|
||||
'(("./bb" "/bin/"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chmod
|
||||
(lambda _
|
||||
(chmod "bb" #o755))))))
|
||||
(list
|
||||
#:patchelf-plan
|
||||
(if (target-aarch64?)
|
||||
`'(("bb" ("gcc" "libc" "zlib")))
|
||||
#f)
|
||||
#:install-plan
|
||||
`'(("./bb" "/bin/"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chmod
|
||||
(lambda _
|
||||
(chmod "bb" #o755))))))
|
||||
(inputs (list `(,gcc "lib") zlib))
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(supported-systems '("aarch64-linux" "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
|
||||
|
|
Loading…
Reference in New Issue
Block a user