From d198eca0b3009d629279caef96e6cf79b913d8e4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 20 Aug 2020 18:34:28 +0200 Subject: gnu: vis: Fetch sources from git. * gnu/packages/text-editors.scm (vis)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/text-editors.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 707f815d5d..97aff24aac 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -76,14 +76,15 @@ (package (name "vis") (version "0.6") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/martanne/vis/releases" - "/download/v" version - "/vis-" version ".tar.gz")) - (sha256 - (base32 - "0za89vrs97hysgmzpydprgvzsp7yfbr6la1w1c9pad4mqpqs7d4s")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martanne/vis") + (commit (string-append "v" version)))) + (sha256 + (base32 "1zjm89cn3rfq8fxpwp66khy53s6vqlmw6q103qyyvix8ydzxdmsh")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments `(#:test-target "test" -- cgit v1.2.3