[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/17: gnu: libmpack: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
01/17: gnu: libmpack: Don't use unstable tarball. |
Date: |
Sat, 5 Oct 2019 23:36:12 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit d7885bbf071e19c6faa2b3fc7c07822682ffc2d9
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Oct 6 00:01:01 2019 +0200
gnu: libmpack: Don't use unstable tarball.
* gnu/packages/serialization.scm (libmpack)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
(lua-libmpack)[arguments]: Adjust ‘unpack-mpack-sources’ phase.
---
gnu/packages/serialization.scm | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 9fefa5a..b2198d2 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2017 Gregor Giesen <address@hidden>
;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -141,14 +141,15 @@ serialization.")
(package
(name "libmpack")
(version "1.0.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/tarruda/libmpack/"
- "archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0ml922gv8y99lbldqb9ykpjndla0hlprdjyl79yskkhwv2ai7sac"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tarruda/libmpack.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
@@ -205,10 +206,9 @@ that implements both the msgpack and msgpack-rpc
specifications.")
;; prerequisites are added to the inputs of the gcc invocation.
(substitute* "Makefile"
(("\\$\\(MPACK\\): mpack-src") "$(MPACK): "))
- (mkdir-p "mpack-src")
- (zero? (system* "tar" "-C" "mpack-src"
- "--strip-components=1"
- "-xvf" (assoc-ref inputs "libmpack"))))))))
+ (copy-recursively (assoc-ref inputs "libmpack")
+ "mpack-src")
+ #t)))))
(inputs
`(("lua" ,lua)))
(native-inputs
- branch master updated (32faec6 -> 5a54baf), guix-commits, 2019/10/05
- 09/17: gnu: perl-test-tcp: Update to 2.21., guix-commits, 2019/10/05
- 01/17: gnu: libmpack: Don't use unstable tarball.,
guix-commits <=
- 08/17: gnu: perl-test-mockobject: Update to 1.20191002., guix-commits, 2019/10/05
- 05/17: gnu: perl-html-form: Update to 6.05., guix-commits, 2019/10/05
- 07/17: gnu: lua-luv: Update to 1.30.1-1., guix-commits, 2019/10/05
- 10/17: gnu: r-polspline: Update to 1.1.16., guix-commits, 2019/10/05
- 02/17: gnu: lua-libmpack: Don't use unstable tarball., guix-commits, 2019/10/05
- 12/17: gnu: rust-miniz-oxide: Update to 0.3.3., guix-commits, 2019/10/05
- 04/17: gnu: quaternion: Update to 0.0.9.4c., guix-commits, 2019/10/05
- 06/17: gnu: lua-libmpack: Update to 1.0.8., guix-commits, 2019/10/05
- 03/17: gnu: libqmatrixclient: Update to 0.5.2., guix-commits, 2019/10/05
- 11/17: gnu: rust-openssl-sys: Update to 0.9.50., guix-commits, 2019/10/05