all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Charles <charles.b.jackson@protonmail.com>
Cc: 49242@debbugs.gnu.org
Subject: [bug#49242] Update UglifyJs (& dependencies) and update dependents
Date: Mon, 12 Jul 2021 15:52:12 +0300	[thread overview]
Message-ID: <YOw6/PXVkSkPiSo/@3900XT> (raw)
In-Reply-To: <eTocMn2EyY9WgxEbHnnAPrUrDLQORJdZfbHzIvC9K625Y4TsMZCd5GikjbG4ZVpYZDfcapI0O4lAmvF2cZP7rl605TOYm4OjkukHgWo7vYY=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]

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@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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-07-12 13:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-27 16:01 [bug#49242] Update UglifyJs (& dependencies) and update dependents Charles via Guix-patches via
     [not found] ` <handler.49242.B.162480970015651.ack@debbugs.gnu.org>
2021-07-05  1:50   ` [bug#49242] Acknowledgement (Update UglifyJs (& dependencies) and update dependents) Charles via Guix-patches via
2021-07-12  2:49     ` Charles via Guix-patches via
2021-07-12  7:24       ` Pierre Neidhardt
2021-07-12 12:52 ` Efraim Flashner [this message]
2021-07-12 12:52 ` [bug#49242] Update UglifyJs (& dependencies) and update dependents Efraim Flashner
2021-07-13  5:36   ` Charles via Guix-patches via
2021-07-15  3:38     ` Charles via Guix-patches via
2021-07-19 12:35       ` bug#49242: " Efraim Flashner
2021-07-19 12:34     ` [bug#49242] " Efraim Flashner
2021-07-19 12:34     ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOw6/PXVkSkPiSo/@3900XT \
    --to=efraim@flashner.co.il \
    --cc=49242@debbugs.gnu.org \
    --cc=charles.b.jackson@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.