diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-12-28 22:45:01 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-12-28 22:55:06 +0200 |
commit | b872b47bf1283824205609939faa14c3c5a8a9d8 (patch) | |
tree | fa52545690ef487905f271d038f61e50f6834ed8 /gnu | |
parent | 7298f55877de7313adb9350a348f1ad6548bd51e (diff) | |
download | gnu-guix-b872b47bf1283824205609939faa14c3c5a8a9d8.tar gnu-guix-b872b47bf1283824205609939faa14c3c5a8a9d8.tar.gz |
gnu: ruby-multi-json: Don't use unstable tarball.
* gnu/packages/ruby.scm (ruby-multi-json)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 13 |
1 files 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 <donttrustben@gmail.com> ;;; Copyright © 2017 ng0 <ng0@n0.is> ;;; Copyright © 2017, 2019 Marius Bakke <mbakke@fastmail.com> -;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2017, 2018, 2019 Christopher Baines <mail@cbaines.net> @@ -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 |