From 2bbda4f077513aa70cb10150fc1c0a808b2657ea Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 22:02:25 +0200 Subject: gnu: hstr: Don't use unstable tarball. * gnu/packages/shellutils.scm (hstr)[source]: Download using git-fetch. --- gnu/packages/shellutils.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 6630332692..83bbb55f6b 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -279,13 +279,14 @@ below the current cursor position, scrolling the screen if necessary.") (name "hstr") (version "2.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dvorka/" name "/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dvorka/hstr.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0yk2008bl48hv0v3c90ngq4y45h3nxif2ik6s3l7kag1zs5yv4wd")) - (file-name (string-append name "-" version ".tar.gz")))) + "1y9vsfbg07gbic0daqy569d9pb9i1d07fym3q7a0a99hbng85s20")))) (build-system gnu-build-system) (arguments `(#:phases -- cgit v1.2.3