summary refs log tree commit diff
path: root/gnu/packages/textutils.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:59:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:59:29 +0200
commitbc1177870d233152e58c26d3f13310521b37017b (patch)
tree6c4beec90e423e24dde8e8ac2ab66eddaa801547 /gnu/packages/textutils.scm
parentd0f3ccf6a0637a66527b1ac82591ed0217153a7d (diff)
downloadguix-bc1177870d233152e58c26d3f13310521b37017b.tar.gz
gnu: pfff: Don't use unstable tarball.
* gnu/packages/textutils.scm (pfff)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r--gnu/packages/textutils.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 680a7f3236..668260b7d8 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -450,13 +450,14 @@ application code.")
     (name "pfff")
     (version "1.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/pfff/pfff/archive/v"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/pfff/pfff")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "00m553aa277iarxj6dalmklyb64r7ias49bfwzbacsfg8h3kar8m"))))
+                "1nxkfm7zliq3rmr7yp871sppwfnz71iz364m2sgazny71pzykggc"))))
     (build-system cmake-build-system)
     (home-page "http://biit.cs.ut.ee/pfff/")
     (synopsis "Probabilistic fast file fingerprinting tool")