summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-29 11:53:16 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:26:02 +0100
commitc5d10ca52a28a57e3c026bf401d07c589ea6ba2b (patch)
tree6bb53e4b394b49b384dcd49a0fa8ec2936ae1634 /gnu/packages
parent06a83348c30095edec06c93cbf8c388ce8f45e23 (diff)
downloadguix-c5d10ca52a28a57e3c026bf401d07c589ea6ba2b.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm20
1 files 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")