[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: vis: Fetch sources from git.
From: |
guix-commits |
Subject: |
02/04: gnu: vis: Fetch sources from git. |
Date: |
Thu, 20 Aug 2020 12:43:02 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit d198eca0b3009d629279caef96e6cf79b913d8e4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Aug 20 18:34:28 2020 +0200
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 707f815..97aff24 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"