From f3fd70c00e242ecc5c59323f4d7ebe3fcaa9ec4d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 30 Dec 2019 16:20:38 +0200 Subject: gnu: ruby-yard: Don't use unstable tarball. * gnu/packages/ruby.scm (ruby-yard)[source]: Download using git-fetch. --- 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 a82e39b796..ad675dc488 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5753,14 +5753,15 @@ A modified copy of yajl is used, and included in the package.") (version "0.9.16") (source (origin - (method url-fetch) + (method git-fetch) ;; Tests do not pass if we build from the distributed gem. - (uri (string-append "https://github.com/lsegal/yard/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (git-reference + (url "https://github.com/lsegal/yard") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0sqpbayy9sb406jh0zqg6qha1xds863qz9531dh6vp58hc00clfq")))) + "0a4r1pfs0ms4vlccsf1x2jckx35lqm8b8lh6rdjxqfr5fia5izpf")))) (build-system ruby-build-system) (arguments `(#:phases -- cgit v1.2.3