guix-commits
[Top][All Lists]
Advanced

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

06/15: gnu: ruby-net-ssh: Update to 7.1.0.


From: guix-commits
Subject: 06/15: gnu: ruby-net-ssh: Update to 7.1.0.
Date: Mon, 10 Jul 2023 07:40:28 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 83444f2940534910ff10c63c38c8d4da7bc2362e
Author: gemmaro <gemmaro.dev@gmail.com>
AuthorDate: Sun Jul 9 14:57:22 2023 +0900

    gnu: ruby-net-ssh: Update to 7.1.0.
    
    * gnu/packages/ruby.scm (ruby-net-ssh): Update to 7.1.0.
    [source]: Switch to git-fetch for tests.
    [native-inputs]: Add ruby-bcrypt-pbkdf, ruby-ed25519, ruby-rbnacl, and
    ruby-x25519 for tests with optional dependencies.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/ruby.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0d4efc8402..78a04dc9e6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5422,16 +5422,25 @@ Mocha stubbing and mocking library with Bacon, a small 
RSpec clone.")
 (define-public ruby-net-ssh
   (package
     (name "ruby-net-ssh")
-    (version "4.2.0")
+    (version "7.1.0")
     (source (origin
-              (method url-fetch)
-              (uri (rubygems-uri "net-ssh" version))
+              (method git-fetch) ;for tests
+              (uri (git-reference
+                    (url "https://github.com/net-ssh/net-ssh";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "07c4v97zl1daabmri9zlbzs6yvkl56z1q14bw74d53jdj0c17nhx"))))
+                "1dkbyzpl31jygnnva5sa754vk42q1fih4qz5ipqw5gqiafrrlb91"))))
     (build-system ruby-build-system)
     (native-inputs
-     (list bundler ruby-mocha ruby-test-unit))
+     (list bundler
+           ruby-bcrypt-pbkdf
+           ruby-ed25519
+           ruby-mocha
+           ruby-rbnacl
+           ruby-test-unit
+           ruby-x25519))
     (synopsis "Ruby implementation of the SSH2 client protocol")
     (description "@code{Net::SSH} is a pure-Ruby implementation of the SSH2
 client protocol.  It allows you to write programs that invoke and interact



reply via email to

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