Subject: Re: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package

From: Ludovic Courtès <[email-masked]>
Date: Thu, 04 Jul 2019 12:29:08 +0200

Hi Mikhail,

Mikhail Kirillov <[email-masked]> skribis:

> * gnu/packages/ruby.scm (ruby): add ruby-backport package

Applied with the minor changes below.  Thank you!

Ludo’.

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e25b527f5c..5f613cfe60 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018 Vasile Dumitrascu <[email-masked]>
 ;;; Copyright © 2018 Alex Vong <[email-masked]>
 ;;; Copyright © 2019 Pierre Neidhardt <[email-masked]>
+;;; Copyright © 2019 Mikhail Kirillov <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8736,7 +8737,7 @@ then check out http://127.0.0.1:1080 to see the mail.")
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/castwide/backport.git")
-             (commit version)))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
@@ -8749,9 +8750,8 @@ then check out http://127.0.0.1:1080 to see the mail.")
        ("ruby-rspec" ,ruby-rspec)))
     (inputs
      `(("ruby-simplecov" ,ruby-simplecov)))
-    (synopsis
-     "A pure Ruby library for event-driven IO")
+    (synopsis "Pure Ruby library for event-driven IO")
     (description
-     "This package provides a pure Ruby library for event-driven IO")
-    (home-page "http://github.com/castwide/backport")
+     "This package provides a pure Ruby library for event-driven IO.")
+    (home-page "https://github.com/castwide/backport")
     (license license:expat)))