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

* gnu/packages/rails.scm (ruby-spring)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2019-12-28 23:00:48 +02:00
parent 3c6128f6f1
commit 7e309d0cb8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com> ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -32,14 +33,14 @@ (define-public ruby-spring
(version "1.7.2") (version "1.7.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (uri (git-reference
(string-append "https://github.com/rails/spring/archive/v" (url "https://github.com/rails/spring")
version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1dd58y0cpsm2izj74yscn0ybfygmgcbbfdw1891g7cq41aai4b35")))) "0smwrndjmnr7g7jjskw05zin3gh6kx5db6yrkiqi6i9wl5mrn9n5"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:test-target "test:unit" `(#:test-target "test:unit"