[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: ruby-puma: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
01/02: gnu: ruby-puma: Don't use unstable tarball. |
Date: |
Mon, 30 Dec 2019 08:57:45 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit a6cffe6ec4f168138a2deb929737ee06376cff5c
Author: Efraim Flashner <address@hidden>
Date: Mon Dec 30 12:36:54 2019 +0200
gnu: ruby-puma: Don't use unstable tarball.
* gnu/packages/ruby.scm (ruby-puma)[source]: Download using git-fetch.
[home-page]: Use https.
---
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 482be70..6203352 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7054,14 +7054,15 @@ part of the Prawn PDF generator.")
(version "3.9.1")
(source
(origin
- (method url-fetch)
+ (method git-fetch)
;; Fetch from GitHub because distributed gem does not contain tests.
- (uri (string-append "https://github.com/puma/puma/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (uri (git-reference
+ (url "https://github.com/puma/puma")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "03pifga841h17brh4vgia8i2ybh3cmsyg0dbybzdf6dq51wzcxdx"))))
+ "1kj75k81iik3aj73pkc9ixj9rwf95ipkyma65n28m64dgw02qi1f"))))
(build-system ruby-build-system)
(arguments
`(#: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
recommended that you use a Ruby implementation with real threads like Rubinius
or JRuby.")
- (home-page "http://puma.io")
+ (home-page "https://puma.io/")
(license license:expat)))
(define-public ruby-hoe-git