gnu: moarvm: Update to 2022.04.
* gnu/packages/perl6.scm (moarvm): Update to 2022.04. [arguments]: Add 'fix-build' phase. [propagated-inputs]: Use latest libtommath. Move below native-inputs. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
d154fa0bae
commit
caee1d4e7a
|
@ -34,15 +34,14 @@
|
||||||
(define-public moarvm
|
(define-public moarvm
|
||||||
(package
|
(package
|
||||||
(name "moarvm")
|
(name "moarvm")
|
||||||
(version "2019.03")
|
(version "2022.04")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://moarvm.org/releases/MoarVM-"
|
(uri (string-append "https://moarvm.org/releases/MoarVM-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0128fxqaz7cwjf6amaz2cgd7xl52zvi5fr7bwnj229snll5za1mf"))
|
||||||
"017w1zvr6yl0cgjfc1b3ddlc6vjw9q8p7alw1vvsckw95190xc14"))
|
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -57,6 +56,10 @@
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-build
|
||||||
|
(lambda _
|
||||||
|
(substitute* "build/Makefile.in"
|
||||||
|
(("^ +3rdparty/freebsd/.*") ""))))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
@ -71,11 +74,11 @@
|
||||||
"--has-libffi"
|
"--has-libffi"
|
||||||
"--has-libuv")))))))
|
"--has-libuv")))))))
|
||||||
(home-page "https://moarvm.org/")
|
(home-page "https://moarvm.org/")
|
||||||
;; These should be inputs but moar.h can't find them when building rakudo
|
|
||||||
(propagated-inputs
|
|
||||||
(list libatomic-ops libffi libtommath-1.0 libuv))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(list pkg-config))
|
||||||
|
;; These should be inputs but moar.h can't find them when building Rakudo.
|
||||||
|
(propagated-inputs
|
||||||
|
(list libatomic-ops libffi libtommath libuv))
|
||||||
(synopsis "VM for NQP And Rakudo Perl 6")
|
(synopsis "VM for NQP And Rakudo Perl 6")
|
||||||
(description
|
(description
|
||||||
"Short for \"Metamodel On A Runtime\", MoarVM is a modern virtual machine
|
"Short for \"Metamodel On A Runtime\", MoarVM is a modern virtual machine
|
||||||
|
|
Reference in New Issue