summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:27:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:27:58 +0300
commit8de377564e57c2615c9422f1c010617003a52162 (patch)
treecee894d7244d631315d43d7e10038fd4d788a5af
parentcfaf5bccb9d5a8aa80b1c8655545623f814a2ec4 (diff)
downloadguix-8de377564e57c2615c9422f1c010617003a52162.tar.gz
gnu: pflask: Don't use unstable tarball.
* gnu/packages/linux.scm (pflask)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/linux.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a56eb5775a..8f8c0a1202 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3788,13 +3788,14 @@ particular the @code{perf} command.")
     (name "pflask")
     (version "0.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/ghedo/pflask/archive/v"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/ghedo/pflask")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1g8fjj67dfkc2s0852l9vqi1pm61gp4rxbpzbzg780f5s5hd1fys"))))
+                "1jikjbhlxlqracnai3v9krzcgd2xwp0p4adw5n07yxc7b857damz"))))
     (build-system cmake-build-system)
     (arguments
      '(#:tests? #f)) ; no tests