gnu: ruby-guard: Don't use unstable tarball.

* gnu/packages/ruby.scm (ruby-guard)[source]: Download using git-fetch.
[home-page]: Use https.
This commit is contained in:
Efraim Flashner 2019-12-28 22:53:14 +02:00
parent 3d30c33210
commit 3c6128f6f1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3930,16 +3930,17 @@ (define-public ruby-guard
(name "ruby-guard") (name "ruby-guard")
(version "2.13.0") (version "2.13.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
;; The gem does not include a Rakefile, nor does it contain a ;; The gem does not include a Rakefile, nor does it contain a
;; gemspec file, nor does it come with the tests. This is why ;; gemspec file, nor does it come with the tests. This is why
;; we fetch the tarball from Github. ;; we fetch the tarball from Github.
(uri (string-append "https://github.com/guard/guard/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/guard/guard")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1hwj0yi17k6f5axrm0k2bb7fq71dlp0zfywmd7pij9iimbppcca0")))) "16pxcszr0g2jnl3090didxh1d8z5m2mly14m3w4rspb8fmclsnjs"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:tests? #f ; tests require cucumber `(#:tests? #f ; tests require cucumber
@ -3970,7 +3971,7 @@ (define-public ruby-guard
"Guard is a command line tool to easily handle events on file system "Guard is a command line tool to easily handle events on file system
modifications. Guard automates various tasks by running custom rules whenever modifications. Guard automates various tasks by running custom rules whenever
file or directories are modified.") file or directories are modified.")
(home-page "http://guardgem.org/") (home-page "https://guardgem.org/")
(license license:expat))) (license license:expat)))
(define-public ruby-tilt (define-public ruby-tilt