From f2dc5f5bb64b377566526c3b35d47a314aa7f848 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 6 Jan 2020 14:26:19 +0200 Subject: gnu: make-lua-filesystem: Don't use unstable tarball. * gnu/packages/lua.scm (make-lua-filesystem)[source]: Download using git-fetch. Parameterize commit version. --- gnu/packages/lua.scm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'gnu/packages/lua.scm') diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 23604868a5..df040cb6a6 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014 Raimon Grau ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2014 Andreas Enge -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2020 Efraim Flashner ;;; Copyright © 2016, 2019 Ricardo Wurmus ;;; Copyright © 2016 doncatnip ;;; Copyright © 2016, 2017, 2019 Clément Lassieur @@ -250,14 +250,16 @@ handy.") (name name) (version "1.6.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/keplerproject/" - "luafilesystem/archive/v_" - "1_6_3" ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/keplerproject/luafilesystem") + (commit (string-append "v_" + (string-join + (string-split version #\.) "_"))))) + (file-name (git-file-name name version)) (sha256 (base32 - "0s10ckxin0bysd6gaywqhxkpw3ybjhprr8m655b8cx3pxjwd49am")))) + "1hxcnqj53540ysyw8fzax7f09pl98b8f55s712gsglcdxp2g2pri")))) (build-system gnu-build-system) (arguments `(#:make-flags -- cgit v1.2.3