summary refs log tree commit diff
path: root/gnu/packages/serialization.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-15 18:44:01 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-15 18:44:01 +0200
commit2ec3df7019073a2825e2a105acb6ac6a111c2db7 (patch)
treec51aed8539df97bbfdf8e677ff9b0e6d54a49da8 /gnu/packages/serialization.scm
parentf8e0d93ca3424a3be238b211501cef84a151ec7b (diff)
downloadguix-2ec3df7019073a2825e2a105acb6ac6a111c2db7.tar.gz
gnu: lua-libmpack: Do not use unstable source tarball.
* gnu/packages/serialization.scm (lua-libmpack)[source]: Change to GIT-FETCH.
Diffstat (limited to 'gnu/packages/serialization.scm')
-rw-r--r--gnu/packages/serialization.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 505c196abd..2d50756806 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -169,13 +169,14 @@ that implements both the msgpack and msgpack-rpc specifications.")
   (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"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libmpack/libmpack-lua")
+                    (commit (package-version libmpack))))
+              (file-name (git-file-name name (package-version libmpack)))
               (sha256
                (base32
-                "153zrrbyxhf71dgzjjhrk56rfwk3nisslpgcqyg44v8fnz1xpk6i"))))
+                "10zx4biyi9gmk90aa6674vvqsrz74jy74fxqlcrx66c8sl8yxr92"))))
     (build-system gnu-build-system)
     (arguments
      `(;; FIXME: tests require "busted", which is not yet available in Guix.