aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/serialization.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-10-06 00:19:34 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-10-06 04:46:52 +0200
commit9fde2268bcc8c28959e7d7146f6f6d7698f853e9 (patch)
tree2bbe4fa60dd62e01a5b5487a327b710f4c5a33f8 /gnu/packages/serialization.scm
parentd7885bbf071e19c6faa2b3fc7c07822682ffc2d9 (diff)
downloadguix-9fde2268bcc8c28959e7d7146f6f6d7698f853e9.tar
guix-9fde2268bcc8c28959e7d7146f6f6d7698f853e9.tar.gz
gnu: lua-libmpack: Don't use unstable tarball.
* gnu/packages/serialization.scm (lua-libmpack)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/serialization.scm')
-rw-r--r--gnu/packages/serialization.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index b2198d2bd0..eb8f6de791 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -170,14 +170,15 @@ that implements both the msgpack and msgpack-rpc specifications.")
(define-public lua-libmpack
(package (inherit libmpack)
(name "lua-libmpack")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/libmpack/libmpack-lua/"
- "archive/" (package-version libmpack) ".tar.gz"))
- (file-name (string-append name "-" (package-version libmpack) ".tar.gz"))
- (sha256
- (base32
- "153zrrbyxhf71dgzjjhrk56rfwk3nisslpgcqyg44v8fnz1xpk6i"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libmpack/libmpack-lua.git")
+ (commit (package-version libmpack))))
+ (file-name (git-file-name name (package-version libmpack)))
+ (sha256
+ (base32 "10zx4biyi9gmk90aa6674vvqsrz74jy74fxqlcrx66c8sl8yxr92"))))
(build-system gnu-build-system)
(arguments
`(;; FIXME: tests require "busted", which is not yet available in Guix.