From b872b47bf1283824205609939faa14c3c5a8a9d8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 28 Dec 2019 22:45:01 +0200 Subject: gnu: ruby-multi-json: Don't use unstable tarball. * gnu/packages/ruby.scm (ruby-multi-json)[source]: Download using git-fetch. --- gnu/packages/ruby.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e1d69f9655..0fcb8aead8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015, 2016, 2017 Ben Woodcroft ;;; Copyright © 2017 ng0 ;;; Copyright © 2017, 2019 Marius Bakke -;;; Copyright © 2017, 2018 Efraim Flashner +;;; Copyright © 2017, 2018, 2019 Efraim Flashner ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2017, 2018, 2019 Christopher Baines @@ -3515,15 +3515,16 @@ net/http library.") (version "1.13.1") (source (origin - (method url-fetch) + (method git-fetch) ;; Tests are not distributed at rubygems.org so download from GitHub ;; instead. - (uri (string-append "https://github.com/intridea/multi_json/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (git-reference + (url "https://github.com/intridea/multi_json") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1s64xqvrnrxmb59v6b2kchnisawg5ai9ky1w60dy6z6ws9la1xv4")))) + "18wpb6p01rrkl4v33byh70vxj2a5jxkfxzv3pz8z6pssy4ymwkm4")))) (build-system ruby-build-system) (arguments `(#:phases -- cgit 1.4.1