summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:29:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:29:54 +0300
commitd5c0b3fa7e01c57cd7fa66be95f7ca8a02417c00 (patch)
tree7abab2505ea143da2c9746a70d62b6e2d1d08bc3
parent8de377564e57c2615c9422f1c010617003a52162 (diff)
downloadguix-d5c0b3fa7e01c57cd7fa66be95f7ca8a02417c00.tar.gz
gnu: jmtpfs: Don't use unstable tarball.
* gnu/packages/linux.scm (jmtpfs)[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 8f8c0a1202..d6d121c650 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6291,13 +6291,14 @@ NexGen, Rise, and SiS CPUs.")
     (version "0.5")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/JasonFerrara/jmtpfs/archive/v"
-                            version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JasonFerrara/jmtpfs")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
         (sha256
          (base32
-          "10v8d7mmx8b8123x5f9y9zaaa428ms6wkngwn2ra71n5a53wrjn0"))))
+          "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1"))))
     (build-system gnu-build-system)
     (inputs
      `(("file" ,file)