* [PATCH 4/8] gnu: Add ruby-net-http-persistent.
@ 2015-06-13 1:17 David Thompson
0 siblings, 0 replies; only message in thread
From: David Thompson @ 2015-06-13 1:17 UTC (permalink / raw)
To: guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0004-gnu-Add-ruby-net-http-persistent.patch --]
[-- Type: text/x-patch, Size: 1835 bytes --]
From 379d7248d3c7616dcc37a39f9a1a33d9e5aa11e5 Mon Sep 17 00:00:00 2001
From: David Thompson <davet@gnu.org>
Date: Fri, 5 Jun 2015 16:50:24 -0400
Subject: [PATCH 4/8] gnu: Add ruby-net-http-persistent.
* gnu/packages/ruby.scm (ruby-net-http-persistent): New variable.
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e7b3c5d..31a377b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -438,3 +438,30 @@ implementations.")
interface for Ruby programs.")
(home-page "https://github.com/mperham/connection_pool")
(license license:expat)))
+
+(define-public ruby-net-http-persistent
+ (package
+ (name "ruby-net-http-persistent")
+ (version "2.9.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/drbrain/net-http-persistent/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q18vji31w8gfr6ajziqkqs8n5lzkw0bl00dm2a8s05zhavzw9j9"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'build ; no gemspec
+ (lambda _ (zero? (system* "rake" "gem")))))))
+ (native-inputs
+ `(("ruby-connection-pool" ,ruby-connection-pool)
+ ("ruby-hoe" ,ruby-hoe)))
+ (synopsis "Persistent HTTP connection manager")
+ (description "Net::HTTP::Persistent manages persistent HTTP connections
+using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
+ (home-page "https://github.com/drbrain/net-http-persistent")
+ (license license:expat)))
--
2.2.1
[-- Attachment #2: Type: text/plain, Size: 38 bytes --]
--
David Thompson
GPG Key: 0FF1D807
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-13 1:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13 1:17 [PATCH 4/8] gnu: Add ruby-net-http-persistent David Thompson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.