guix-commits
[Top][All Lists]
Advanced

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

45/203: gnu: ruby-net-scp: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit e405f996e9eea26ee21bdb3d5c13ab4930454e9a
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Apr 4 23:33:15 2019 +0200

    gnu: ruby-net-scp: Don't use unstable tarball.
    
    * gnu/packages/ruby.scm (ruby-net-scp)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/ruby.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9a899b6..2412244 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2986,12 +2986,13 @@ with processes on remote servers, via SSH2.")
     (version "1.2.2.rc2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/net-ssh/net-scp/archive/v";
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/net-ssh/net-scp.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0xyf17mhgvyz54xjj9ria4wnq3x62bhmkfgzqv8jwiip2bplv1nk"))))
+        (base32 "1nyn17sy71fn7zs3y6wbgcn35318c10flqgc0582409095x4h0sx"))))
     (build-system ruby-build-system)
     (native-inputs
      `(("bundler" ,bundler)



reply via email to

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