guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

72/94: gnu: ruby-connection-pool: Update to 2.4.1.


From: guix-commits
Subject: 72/94: gnu: ruby-connection-pool: Update to 2.4.1.
Date: Mon, 3 Jul 2023 06:06:36 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit d6b6ce5c7475b7a6c246c1680f04e8f720797feb
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jun 29 11:53:16 2023 +0100

    gnu: ruby-connection-pool: Update to 2.4.1.
    
    * gnu/packages/ruby.scm (ruby-connection-pool): Update to 2.4.1.
    [arguments]: Remove ruby-standard dependency.
---
 gnu/packages/ruby.scm | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 65b8eba903..734930779f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4170,14 +4170,26 @@ for breakage.")
 (define-public ruby-connection-pool
   (package
     (name "ruby-connection-pool")
-    (version "2.2.2")
+    (version "2.4.1")
     (source (origin
-              (method url-fetch)
-              (uri (rubygems-uri "connection_pool" version))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/mperham/connection_pool";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0lflx29mlznf1hn0nihkgllzbj8xp5qasn8j7h838465pi399k68"))))
+                "1iijshb1n9xl5knvpzzx0vqlw7v7mskiw1cpfj1cmdmssavyhsx5"))))
     (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch
+            (lambda _
+              (substitute* "Rakefile"
+                (("require \"standard/rake\"") "")
+                ((":\"standard:fix\",") "")))))))
     (native-inputs
      (list bundler))
     (synopsis "Generic connection pool for Ruby")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]