gnu: ruby-tzinfo-data: Don't use unstable tarball.

* gnu/packages/ruby.scm (ruby-tzinfo-data)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2019-12-30 16:15:50 +02:00
parent 4e11082569
commit bb1e7ed066
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4066,17 +4066,16 @@ (define-public ruby-tzinfo-data
(version "1.2017.3") (version "1.2017.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
;; Download from GitHub because the rubygems version does not contain ;; Download from GitHub because the rubygems version does not contain
;; Rakefile or tests. ;; Rakefile or tests.
(uri (string-append (uri (git-reference
"https://github.com/tzinfo/tzinfo-data/archive/v" (url "https://github.com/tzinfo/tzinfo-data")
version (commit (string-append "v" version))))
".tar.gz")) (file-name (git-file-name name version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"01wff7syqzikbxalbg3isgxasmvzicr85bzadzkb6bf20bip4v54")) "0v3phl5l3jrm6waxcszqmj2dkjhqawxfsxb6mss7vkp1hlckqcdp"))
;; Remove the known test failure. ;; Remove the known test failure.
;; https://github.com/tzinfo/tzinfo-data/issues/10 ;; https://github.com/tzinfo/tzinfo-data/issues/10
;; https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1587128 ;; https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1587128