GNU bug report logs - #43391
[PATCH 0/1] New package quickjs

Previous Next

Package: guix-patches;

Reported by: rprior <at> protonmail.com

Date: Mon, 14 Sep 2020 01:12:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43391 in the body.
You can then email your comments to 43391 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43391; Package guix-patches. (Mon, 14 Sep 2020 01:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rprior <at> protonmail.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 14 Sep 2020 01:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: rprior <at> protonmail.com
To: guix-patches <at> gnu.org
Cc: Ryan Prior <rprior <at> protonmail.com>
Subject: [PATCH 0/1] New package quickjs
Date: Mon, 14 Sep 2020 01:11:35 +0000
From: Ryan Prior <rprior <at> protonmail.com>

This patch adds Fabrice Bellard and Charlie Gordon's quickjs, a complete Javscript ES2020 implementation that fits inside a megabyte.

Ryan Prior (1):
  gnu: Add quickjs.

 gnu/packages/javascript.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

-- 
2.17.1






Information forwarded to guix-patches <at> gnu.org:
bug#43391; Package guix-patches. (Mon, 14 Sep 2020 01:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 43391 <at> debbugs.gnu.org (full text, mbox):

From: rprior <at> protonmail.com
To: 43391 <at> debbugs.gnu.org
Cc: Ryan Prior <rprior <at> protonmail.com>
Subject: [PATCH 1/1] gnu: Add quickjs.
Date: Mon, 14 Sep 2020 01:13:31 +0000
From: Ryan Prior <rprior <at> protonmail.com>

* gnu/packages/javascript.scm (quickjs): New variable.
---
 gnu/packages/javascript.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index fbc7388f3d..9c6c95bd70 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -447,3 +447,33 @@ to use, and is very similar to Lua.  There is no need to interact with byzantine
 C++ template mechanisms, or worry about marking and unmarking garbage collection
 roots, or wrestle with obscure build systems.")
     (license license:isc)))
+
+(define-public quickjs
+  (package
+    (name "quickjs")
+    (version "2020-09-06")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://bellard.org/quickjs/quickjs-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32 "05vpnnzmws7plnwsnk2brwf7whyj84l5xl0iahi1xdn6rpla6880"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list "prefix="
+             (string-append "DESTDIR=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'check
+           (lambda _
+             (invoke "make" "microbench"))))))
+    (home-page "https://bellard.org/quickjs/")
+    (synopsis "Small embeddable Javascript engine")
+    (description "QuickJS supports the ES2020 specification including modules,
+asynchronous generators, proxies, BigInt and BigDecimal.  It can compile
+Javascript sources to executables with no external dependency.  It includes a
+command line interpreter with contextual colorization implemented in
+Javascript and a small built-in standard library with C library wrappers.")
+    (license license:expat)))
-- 
2.17.1






Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Mon, 14 Sep 2020 14:16:01 GMT) Full text and rfc822 format available.

Notification sent to rprior <at> protonmail.com:
bug acknowledged by developer. (Mon, 14 Sep 2020 14:16:02 GMT) Full text and rfc822 format available.

Message #13 received at 43391-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: rprior <at> protonmail.com
Cc: 43391-done <at> debbugs.gnu.org
Subject: Re: [bug#43391] [PATCH 1/1] gnu: Add quickjs.
Date: Mon, 14 Sep 2020 16:15:11 +0200
Hello,

> +               (base32 "05vpnnzmws7plnwsnk2brwf7whyj84l5xl0iahi1xdn6rpla6880"))))

I wrapped this line and pushed.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Oct 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.