GNU bug report logs -
#49242
Update UglifyJs (& dependencies) and update dependents
Previous Next
Full log
Message #17 received at 49242 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Jun 27, 2021 at 04:01:21PM +0000, Charles via Guix-patches via wrote:
> From 19a60318625b04f16861c89e6f1879d8b4f558d4 Mon Sep 17 00:00:00 2001
> From: Charles <charles.b.jackson <at> protonmail.com>
> Date: Sat, 26 Jun 2021 14:33:19 -0500
> Subject: [PATCH] gnu: Add node-acorn.
>
> * gnu/packages/node-xyz.scm (node-acorn): Add new variable.
> ---
> gnu/packages/node-xyz.scm | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
> index 27a76f59c3..7818b44d9e 100644
> --- a/gnu/packages/node-xyz.scm
> +++ b/gnu/packages/node-xyz.scm
> @@ -21,6 +21,7 @@
> (define-module (gnu packages node-xyz)
> #:use-module ((guix licenses) #:prefix license:)
> #:use-module (guix packages)
> + #:use-module (guix download)
> #:use-module (guix git-download)
> #:use-module (guix build-system node))
>
> @@ -330,3 +331,29 @@ function with browser support.")
> Subsequent calls will either return the cached previous value or throw an error
> if desired.")
> (license license:isc)))
> +
> +(define-public node-acorn
> + (package
> + (name "node-acorn")
> + (version "8.4.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/acornjs/acorn/archive/refs/tags/"
> + version ".tar.gz"))
github '/archive/' links have a tendency to change over time, so it'd be
better to download using git-fetch.
> + (sha256
> + (base32 "0x049p4f0pdck168vc9zbagj1jw26g8d71dycckmd02y2rjddb9b"))))
> + (build-system node-build-system)
> + (arguments
> + '(#:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'change-directory
> + (lambda _
> + (chdir "acorn")
> + #t)))))
> + (home-page "https://github.com/acornjs/acorn/tree/master/acorn")
> + (synopsis "A small, fast, Javascript-based Javascript parser")
(synopsis "Javascript-based Javascript parser")
> + (description "Acornjs is a Javascrip parser with many options and an
beware the typo in Javascript :)
> +architecture supporting plugins.")
> + (license license:expat)))
> --
> 2.32.0
>
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.