summaryrefslogtreecommitdiff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-05-09 23:10:02 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-05-09 23:30:01 +0300
commit0ec70c2c79893114ea558a9c4d3cc3610dba8b19 (patch)
treee2fdb30455421daa7e02347617944e4f648bce5d /gnu/packages/javascript.scm
parenta2130bcf09af41e4f3e017a8b6118007a30fd2f2 (diff)
gnu: mujs: Update to 1.2.0.
* gnu/packages/javascript.scm (mujs): Update to 1.2.0. [source]: Add snippet to remove generated files.
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r--gnu/packages/javascript.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 68d338de8d..70c1b11dd1 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -34,6 +34,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages uglifyjs)
#:use-module (gnu packages web)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -681,7 +682,7 @@ external server.")
(define-public mujs
(package
(name "mujs")
- (version "1.1.3")
+ (version "1.2.0")
(source
(origin
(method git-fetch)
@@ -690,7 +691,14 @@ external server.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0qizld89qw24i9v6i2j9cxjyqn425xbiqfp1b7qfrkyxqkn0byws"))))
+ (base32 "0kqw3xhjk4l2jar14a1f9b3m0xq0h2g3nc9m6hsdv7kf8jhfm83l"))
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ (for-each delete-file
+ (list "astnames.h"
+ "opnames.h"
+ "one.c"))))))
(build-system gnu-build-system)
(arguments
`(#:phases