summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:29:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:29:37 +0200
commitb63785ec79b6d31d423e986000946e3883397eea (patch)
treea344bf20a9d67a81287144101ff5d1cca014e810
parentf2dc5f5bb64b377566526c3b35d47a314aa7f848 (diff)
downloadguix-b63785ec79b6d31d423e986000946e3883397eea.tar.gz
gnu: make-lua-sec: Don't use unstable tarball.
* gnu/packages/lua.scm (make-lua-sec)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/lua.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index df040cb6a6..cf1282f969 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -295,12 +295,14 @@ directory structure and file attributes.")
     (name name)
     (version "0.7")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/brunoos/luasec/archive/"
-                                  "luasec-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/brunoos/luasec")
+                     (commit (string-append "luasec-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0c9sdz3gvrsbvvdqzpnsappgwl40hfljlpfybqis6wia3mdyjxi1"))))
+                "1w2w030jn4lgbkmzp7j3znmj856vfj0ca8sn8r444r5zhmihd761"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags