aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lua.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:33:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:33:21 +0200
commit5545abecd252e36f7cd11fe60831db26b2081916 (patch)
treeda8c393817e886f99ad440da8e5c3486f4a036ca /gnu/packages/lua.scm
parentbf73eb142b911c8ea1f21ca80ead94e6a269c9df (diff)
downloadpatches-5545abecd252e36f7cd11fe60831db26b2081916.tar
patches-5545abecd252e36f7cd11fe60831db26b2081916.tar.gz
gnu: make-lua-socket: Don't use unstable tarball.
* gnu/packages/lua.scm (make-lua-socket)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/lua.scm')
-rw-r--r--gnu/packages/lua.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 34d86cfcc7..ac4fa96e65 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -196,14 +196,14 @@ language.")
(name name)
(version "3.0-rc1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/diegonehab/luasocket/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/diegonehab/luasocket")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0j8jx8bjicvp9khs26xjya8c495wrpb7parxfnabdqa5nnsxjrwb"))))
+ "1chs7z7a3i3lck4x7rz60ziwbf793gw169hpjdfca8y4yf1hzsxk"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags