1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00

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

* gnu/packages/ruby.scm (ruby-puma)[source]: Download using git-fetch.
[home-page]: Use https.
This commit is contained in:
Efraim Flashner 2019-12-30 12:36:54 +02:00
parent 4347662539
commit a6cffe6ec4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7054,14 +7054,15 @@ part of the Prawn PDF generator.")
(version "3.9.1") (version "3.9.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
;; Fetch from GitHub because distributed gem does not contain tests. ;; Fetch from GitHub because distributed gem does not contain tests.
(uri (string-append "https://github.com/puma/puma/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/puma/puma")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"03pifga841h17brh4vgia8i2ybh3cmsyg0dbybzdf6dq51wzcxdx")))) "1kj75k81iik3aj73pkc9ixj9rwf95ipkyma65n28m64dgw02qi1f"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:tests? #f ; Tests require an out-dated version of minitest. `(#:tests? #f ; Tests require an out-dated version of minitest.
@ -7079,7 +7080,7 @@ for Ruby/Rack applications. Puma is intended for use in both development and
production environments. In order to get the best throughput, it is highly production environments. In order to get the best throughput, it is highly
recommended that you use a Ruby implementation with real threads like Rubinius recommended that you use a Ruby implementation with real threads like Rubinius
or JRuby.") or JRuby.")
(home-page "http://puma.io") (home-page "https://puma.io/")
(license license:expat))) (license license:expat)))
(define-public ruby-hoe-git (define-public ruby-hoe-git