guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: guile-ssh: Use 'git-fetch'.


From: guix-commits
Subject: 04/05: gnu: guile-ssh: Use 'git-fetch'.
Date: Mon, 14 Jan 2019 17:43:56 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit e98c354d1ad8e0751421b0a3a6c15bd784017501
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 14 22:44:53 2019 +0100

    gnu: guile-ssh: Use 'git-fetch'.
    
    * gnu/packages/ssh.scm (guile-ssh)[source]: Change to 'git-fetch'.
---
 gnu/packages/ssh.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index ce77a1a..5d0d766 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -235,16 +235,14 @@ Additionally, various channel-specific options can be 
negotiated.")
     (version "0.11.3")
     (home-page "https://github.com/artyom-poptsov/guile-ssh";)
     (source (origin
-              ;; 
ftp://memory-heap.org/software/guile-ssh/guile-ssh-VERSION.tar.gz
-              ;; exists, but the server appears to be too slow and unreliable.
-              ;; Also, using this URL allows the GitHub updater to work.
-              (method url-fetch)
-              (uri (string-append home-page "/archive/v"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1g2jzcg1p25zrkx06j160qb8bgcwa3001ys4q02496xs61pvywqk"))
+                "03bv3hwp2s8f0bqgfjaan9jx4dyab0abv27n2zn2g0izlidv0vl6"))
               (modules '((guix build utils)))
               (snippet
                '(begin



reply via email to

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