mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: quickjs: Use G-expressions.
* gnu/packages/javascript.scm (quickjs)[arguments]: Rewrite as G-expressions. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Change-Id: Ib6b47266a7faf020831653ce205b442f3af35de2
This commit is contained in:
parent
3c46191abd
commit
efad468f6d
1 changed files with 9 additions and 10 deletions
|
@ -836,16 +836,15 @@ (define-public quickjs
|
||||||
"06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))))
|
"06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
(list #:make-flags
|
||||||
(list "prefix="
|
#~(list "prefix="
|
||||||
(string-append "DESTDIR=" %output)
|
(string-append "DESTDIR=" #$output)
|
||||||
,@(if (target-riscv64?) '("LDFLAGS=-latomic") '()))
|
#$@(if (target-riscv64?) '("LDFLAGS=-latomic") '()))
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(delete 'configure)
|
||||||
(delete 'configure)
|
(replace 'check
|
||||||
(replace 'check
|
(lambda _
|
||||||
(lambda _
|
(invoke "make" "microbench"))))))
|
||||||
(invoke "make" "microbench"))))))
|
|
||||||
(home-page "https://bellard.org/quickjs/")
|
(home-page "https://bellard.org/quickjs/")
|
||||||
(synopsis "Small embeddable Javascript engine")
|
(synopsis "Small embeddable Javascript engine")
|
||||||
(description "QuickJS supports the ES2020 specification including modules,
|
(description "QuickJS supports the ES2020 specification including modules,
|
||||||
|
|
Loading…
Reference in a new issue