diff options
author | Ludovic Courtès <[email protected]> | 2022-06-08 14:46:24 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2022-06-08 14:46:24 +0200 |
commit | 8c3e9da13a3c92a7db308db8c0d81cb474ad7799 (patch) | |
tree | 88d06952aa5cc3a9c4991d9c43eb7950ff174fe1 /gnu/packages/javascript.scm | |
parent | 5439c04ebdb7b6405f5ea2446b375f1d155a8d95 (diff) | |
parent | 0c5299200ffcd16370f047b7ccb187c60f30da34 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r-- | gnu/packages/javascript.scm | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 68d338de8d..028b5c4391 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2017 Arun Isaac <[email protected]> ;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <[email protected]> ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <[email protected]> -;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <[email protected]> +;;; Copyright © 2017, 2018, 2019, 2020, 2022 Efraim Flashner <[email protected]> ;;; Copyright © 2018 Nicolas Goaziou <[email protected]> ;;; Copyright © 2021 Pierre Neidhardt <[email protected]> ;;; Copyright © 2021 Maxim Cournoyer <[email protected]> @@ -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,19 +691,27 @@ 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 - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (replace 'install - (lambda* (#:key (make-flags '()) #:allow-other-keys) - (apply invoke "make" "install-shared" make-flags)))) + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install + (lambda* (#:key (make-flags '()) #:allow-other-keys) + (apply invoke "make" "install-shared" make-flags)))) #:make-flags - (list ,(string-append "VERSION=" version) - ,(string-append "CC=" (cc-for-target)) - (string-append "prefix=" (assoc-ref %outputs "out"))) + #~(list (string-append "VERSION=" #$version) + (string-append "CC=" #$(cc-for-target)) + (string-append "prefix=" #$output)) #:tests? #f)) ; no tests (inputs (list readline)) @@ -828,6 +837,12 @@ and vice versa.") `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-build-dates + ;; Avoid embedding build date for reproducible builds + (lambda _ + (substitute* + "build.properties" + (("..implementation.date.") "")))) (replace 'check (lambda* (#:key tests? inputs native-inputs #:allow-other-keys) |