summary refs log tree commit diff
path: root/gnu/packages/lua.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:31:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-06 14:31:20 +0200
commitbf73eb142b911c8ea1f21ca80ead94e6a269c9df (patch)
treecbc84fe99243911383fd17855b086fa66c43b6c2 /gnu/packages/lua.scm
parentb63785ec79b6d31d423e986000946e3883397eea (diff)
downloadguix-bf73eb142b911c8ea1f21ca80ead94e6a269c9df.tar.gz
gnu: lua-lgi: Don't use unstable tarball.
* gnu/packages/lua.scm (lua-lgi)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/lua.scm')
-rw-r--r--gnu/packages/lua.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index cf1282f969..34d86cfcc7 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -344,14 +344,14 @@ secure session between the peers.")
     (version "0.9.2")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append
-              "https://github.com/pavouk/lgi/archive/"
-              version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/pavouk/lgi")
+               (commit version)))
+        (file-name (git-file-name name version))
         (sha256
-          (base32
-            "0kwcaj3ahi9gxfyp0lr5zgr6vi1mgsg9sz0980x0nwxlh9a11i6g"))))
+         (base32
+          "03rbydnj411xpjvwsyvhwy4plm96481d7jax544mvk7apd8sd5jj"))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags (list "CC=gcc"