summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-19 17:31:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-20 10:02:47 +0200
commit1f4021b03aa569f3f8d04a78ba16a9244d15cd14 (patch)
tree7c1c8651c88b4328751efb3d201010cfcdbc2ee7
parentdb9b61bf611f58a2f700e14b519d3554326fbff2 (diff)
downloadguix-1f4021b03aa569f3f8d04a78ba16a9244d15cd14.tar.gz
gnu: uefitool: Don't use unstable tarball.
* gnu/packages/flashing-tools.scm (uefitool)[source]: Download using
git-fetch.
-rw-r--r--gnu/packages/flashing-tools.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 82a30f04ca..5c3c31348e 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -449,13 +449,14 @@ ME as far as possible (it only edits ME firmware image files).")
     (name "uefitool")
     (version "0.22.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/LongSoft/UEFITool/archive/"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/LongSoft/UEFITool.git")
+                     (commit version)))
               (sha256
                (base32
-                "05jmhv7jpq08kqbd1477y1lgyjvcic3njrd0bmzdy7v7b7lnhl82"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                "13q1lw6k4spqw7a4w392vr9c76q1l75lm08plzvj04xhcb38sgv6"))
+              (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases