guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/203: gnu: vcsh: Don't use unstable tarball.


From: guix-commits
Subject: 04/203: gnu: vcsh: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:04 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit c8c42907a1584fe23fd02621897f80f610b8aa55
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 20:21:53 2019 +0100

    gnu: vcsh: Don't use unstable tarball.
    
    * gnu/packages/version-control.scm (vcsh)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/version-control.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6579e90..8f06d42 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1026,14 +1026,15 @@ manipulate them in various ways.")
   (package
     (name "vcsh")
     (version "1.20151229")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/RichiH/vcsh/archive/v";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/RichiH/vcsh.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1grpj45nbpv4j60vd2kg4rj53zrm0bc0h9l4pfd3c2mwbvywm6ab"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("which" ,which)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]