[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: Add ruby-net-http-persistent.
From: |
David Thompson |
Subject: |
04/11: gnu: Add ruby-net-http-persistent. |
Date: |
Tue, 16 Jun 2015 00:30:21 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit 4c0aeb44d605863466bbf90386bfaa88c590a5aa
Author: David Thompson <address@hidden>
Date: Fri Jun 5 16:50:24 2015 -0400
gnu: Add ruby-net-http-persistent.
* gnu/packages/ruby.scm (ruby-net-http-persistent): New variable.
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
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)))
- branch master updated (975b894 -> e778a54), David Thompson, 2015/06/15
- 01/11: gnu: Add ruby-bacon., David Thompson, 2015/06/15
- 02/11: gnu: Add ruby-arel., David Thompson, 2015/06/15
- 03/11: gnu: Add ruby-connection-pool., David Thompson, 2015/06/15
- 04/11: gnu: Add ruby-net-http-persistent.,
David Thompson <=
- 05/11: gnu: Add ruby-daemons., David Thompson, 2015/06/15
- 06/11: gnu: Add ruby-minitest., David Thompson, 2015/06/15
- 07/11: gnu: Add ruby-minitest-sprint., David Thompson, 2015/06/15
- 08/11: gnu: Add ruby-minitest-bacon., David Thompson, 2015/06/15
- 10/11: gnu: Add ruby-slop., David Thompson, 2015/06/15
- 09/11: gnu: Add ruby-git., David Thompson, 2015/06/15
- 11/11: gnu: Add ruby-multipart-post., David Thompson, 2015/06/15