summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-19 17:27:32 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-20 10:02:47 +0200
commitdb9b61bf611f58a2f700e14b519d3554326fbff2 (patch)
tree5462ded7e732fc1bdc5af95e5de8cc14c776ec41
parent8d449c25b68faf5163efa2f438ee16ba9ab3d566 (diff)
downloadguix-db9b61bf611f58a2f700e14b519d3554326fbff2.tar.gz
gnu: me-cleaner: Don't use unstable tarball.
* gnu/packages/flashing-tools.scm (me-cleaner)[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 60418d2783..82a30f04ca 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -417,13 +417,14 @@ Management Engine (ME).  You need to @code{sudo rmmod mei_me} and
     (name "me-cleaner")
     (version "1.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/corna/me_cleaner/"
-                                  "archive/v" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/corna/me_cleaner.git")
+                     (commit (string-append "v" version))))
               (sha256
                (base32
-                "0hdnay1ai0r6l69z63jkiz6yfwdsqc2mrfyj77hgadv7xxxqm6na"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4"))
+              (file-name (git-file-name name version))))
     (build-system python-build-system)
     (arguments
      `(#:phases