[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: Add java-httpcomponents-httpcore-nio.
From: |
Ricardo Wurmus |
Subject: |
04/10: gnu: Add java-httpcomponents-httpcore-nio. |
Date: |
Mon, 15 May 2017 16:00:59 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 3a068b4307a24015254d2ea8e99d9b677ae8fb75
Author: Ricardo Wurmus <address@hidden>
Date: Tue Mar 7 19:52:40 2017 +0100
gnu: Add java-httpcomponents-httpcore-nio.
* gnu/packages/java.scm (java-httpcomponents-httpcore-nio): New variable.
---
gnu/packages/java.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ee7d7d4..032f58a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2073,6 +2073,28 @@ NIO.
This package provides the blocking I/O model library.")
(license license:asl2.0)))
+(define-public java-httpcomponents-httpcore-nio
+ (package (inherit java-httpcomponents-httpcore)
+ (name "java-httpcomponents-httpcore-nio")
+ (arguments
+ `(#:jar-name "httpcomponents-httpcore-nio.jar"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "httpcore-nio") #t)))))
+ (inputs
+ `(("java-httpcomponents-httpcore" ,java-httpcomponents-httpcore)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ,@(package-inputs java-httpcomponents-httpcore)))
+ (description "HttpCore is a set of low level HTTP transport components
+that can be used to build custom client and server side HTTP services with a
+minimal footprint. HttpCore supports two I/O models: blocking I/O model based
+on the classic Java I/O and non-blocking, event driven I/O model based on Java
+NIO.
+
+This package provides the non-blocking I/O model library based on Java
+NIO.")))
+
(define-public java-commons-cli
(package
(name "java-commons-cli")
- branch master updated (7fe4e55 -> a624469), Ricardo Wurmus, 2017/05/15
- 01/10: gnu: Add mia., Ricardo Wurmus, 2017/05/15
- 04/10: gnu: Add java-httpcomponents-httpcore-nio.,
Ricardo Wurmus <=
- 07/10: gnu: Add java-httpcomponents-httpmime., Ricardo Wurmus, 2017/05/15
- 03/10: gnu: Add java-httpcomponents-httpcore., Ricardo Wurmus, 2017/05/15
- 10/10: gnu: Add java-commons-compress., Ricardo Wurmus, 2017/05/15
- 09/10: gnu: Add java-jsch., Ricardo Wurmus, 2017/05/15
- 05/10: gnu: Add java-httpcomponents-httpcore-ab., Ricardo Wurmus, 2017/05/15
- 06/10: gnu: Add java-httpcomponents-httpclient., Ricardo Wurmus, 2017/05/15
- 08/10: gnu: Add java-commons-net., Ricardo Wurmus, 2017/05/15
- 02/10: gnu: Add java-mockito-1., Ricardo Wurmus, 2017/05/15