gnu: lua-libmpack: Don't use unstable tarball.

* gnu/packages/serialization.scm (lua-libmpack)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-10-06 00:19:34 +02:00
parent d7885bbf07
commit 9fde2268bc
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 9 additions and 8 deletions

View File

@ -170,14 +170,15 @@ that implements both the msgpack and msgpack-rpc specifications.")
(define-public lua-libmpack (define-public lua-libmpack
(package (inherit libmpack) (package (inherit libmpack)
(name "lua-libmpack") (name "lua-libmpack")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/libmpack/libmpack-lua/" (method git-fetch)
"archive/" (package-version libmpack) ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" (package-version libmpack) ".tar.gz")) (url "https://github.com/libmpack/libmpack-lua.git")
(sha256 (commit (package-version libmpack))))
(base32 (file-name (git-file-name name (package-version libmpack)))
"153zrrbyxhf71dgzjjhrk56rfwk3nisslpgcqyg44v8fnz1xpk6i")))) (sha256
(base32 "10zx4biyi9gmk90aa6674vvqsrz74jy74fxqlcrx66c8sl8yxr92"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(;; FIXME: tests require "busted", which is not yet available in Guix. `(;; FIXME: tests require "busted", which is not yet available in Guix.