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

* gnu/packages/ruby.scm (ruby-net-scp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-04 23:33:15 +02:00
parent 60306e4517
commit e405f996e9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2986,12 +2986,13 @@ (define-public ruby-net-scp
(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)