From bc1177870d233152e58c26d3f13310521b37017b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 22:59:29 +0200 Subject: [PATCH] gnu: pfff: Don't use unstable tarball. * gnu/packages/textutils.scm (pfff)[source]: Download using git-fetch. --- gnu/packages/textutils.scm | 11 ++++++----- 1 file 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 @@ (define-public pfff (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")