[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: mujs: Fetch sources from git.
From: |
guix-commits |
Subject: |
06/09: gnu: mujs: Fetch sources from git. |
Date: |
Mon, 23 Nov 2020 16:12:30 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit d3e6f41ad63e64c0fdfb9c24c2a9d1a2dd49b636
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 23 22:03:27 2020 +0100
gnu: mujs: Fetch sources from git.
* gnu/packages/javascript.scm (mujs)[source]: GIT-FETCH the sources
directly from the author.
[arguments]: Add VERSION to #:make-flags.
---
gnu/packages/javascript.scm | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 669951f..48f3e85 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
@@ -416,23 +416,27 @@ external server.")
(package
(name "mujs")
(version "1.0.7")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://mujs.com/downloads/mujs-"
- version ".tar.xz"))
- (sha256
- (base32
- "1ilhay15z4k7mlzs6g2d00snivin7vp72dfw5wwpmc0x70jr31l2"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ccxvii/mujs")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08cm3w51xx1bznlglys9wl76vmbdf6jbd3cq504wzrqh10vgdfbv"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
+ `(#:phases
(modify-phases %standard-phases
- (delete 'configure) ; no configure
+ (delete 'configure) ; no configure script
(add-after 'install 'install-shared-library
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(apply invoke "make" "install-shared" make-flags))))
- #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
- (string-append "CC=gcc"))
+ #:make-flags
+ (list ,(string-append "VERSION=" version)
+ (string-append "CC=gcc")
+ (string-append "prefix=" (assoc-ref %outputs "out")))
#:tests? #f)) ; no tests
(inputs
`(("readline" ,readline)))
- branch master updated (be4d952 -> 94147d6), guix-commits, 2020/11/23
- 07/09: gnu: mujs: Update to 1.0.9., guix-commits, 2020/11/23
- 06/09: gnu: mujs: Fetch sources from git.,
guix-commits <=
- 04/09: gnu: snd: Update to 20.9., guix-commits, 2020/11/23
- 05/09: gnu: gpodder: Update to 3.10.17., guix-commits, 2020/11/23
- 08/09: gnu: mujs: Cross-compile., guix-commits, 2020/11/23
- 09/09: gnu: mujs: Omit static library., guix-commits, 2020/11/23
- 02/09: gnu: djview: Update to 4.12., guix-commits, 2020/11/23
- 03/09: gnu: libraqm: Update to 0.7.1., guix-commits, 2020/11/23
- 01/09: gnu: mtpaint: Update to 3.49.33., guix-commits, 2020/11/23