me
/
guix
Archived
1
0
Fork 0

gnu: quickjs: Update to 2024-01-13.

* gnu/packages/javascript.scm (quickjs): Update to 2024-01-13.
[arguments]: Adjust make-flags to set PREFIX and not DESTDIR.
[description]: Update with new features.

Change-Id: I76189212c3baafda36b7327d47001147ffacb8a8
master
Efraim Flashner 2024-04-07 10:06:43 +03:00
parent 8ec53cabf2
commit f6a62ce9ba
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 9 deletions
gnu/packages

View File

@ -826,14 +826,14 @@ roots, or wrestle with obscure build systems.")
(define-public quickjs (define-public quickjs
(package (package
(name "quickjs") (name "quickjs")
(version "2021-03-27") (version "2024-01-13")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://bellard.org/quickjs/quickjs-" (uri (string-append "https://bellard.org/quickjs/quickjs-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4")) "00rf45l1bx0yhlv11gn3bbyfqw9724c153bc93mlp9dzjpwghjrw"))
(snippet (snippet
#~(begin (use-modules (guix build utils)) #~(begin (use-modules (guix build utils))
(for-each delete-file (for-each delete-file
@ -844,8 +844,7 @@ roots, or wrestle with obscure build systems.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:make-flags (list #:make-flags
#~(list "prefix=" #~(list (string-append "PREFIX=" #$output)
(string-append "DESTDIR=" #$output)
#$@(if (or (target-riscv64?) #$@(if (or (target-riscv64?)
(target-ppc32?)) (target-ppc32?))
'("LDFLAGS=-latomic") '("LDFLAGS=-latomic")
@ -858,11 +857,12 @@ roots, or wrestle with obscure build systems.")
(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 ES2023 specification including modules,
asynchronous generators, proxies, BigInt and BigDecimal. It can compile asynchronous generators, proxies, BigInt, BigDecimal, BigFloat and operator
Javascript sources to executables with no external dependency. It includes a overloading. It can compile Javascript sources to executables with no external
command line interpreter with contextual colorization implemented in dependency. It includes a command line interpreter with contextual colorization
Javascript and a small built-in standard library with C library wrappers.") implemented in Javascript and a small built-in standard library with C library
wrappers.")
(license license:expat))) (license license:expat)))
(define-public duktape (define-public duktape