[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26803: [PATCH 29/36] gnu: Add java-httpcomponents-httpcore-nio.
From: |
Roel Janssen |
Subject: |
bug#26803: [PATCH 29/36] gnu: Add java-httpcomponents-httpcore-nio. |
Date: |
Thu, 11 May 2017 10:18:21 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
Ricardo Wurmus writes:
> * 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 a770cd4cc..620a276d0 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")
Same suggestion as the 'java-httpcomponents-httpcore'
patch. @code{HttpCore} or just HttpCore? I don't know, so it's up to
you. :-)
Otherwise, LGTM!
Kind regards,
Roel Janssen
bug#26803: [PATCH 28/36] gnu: Add java-httpcomponents-httpcore., Ricardo Wurmus, 2017/05/06
bug#26803: [PATCH 29/36] gnu: Add java-httpcomponents-httpcore-nio., Ricardo Wurmus, 2017/05/06
- bug#26803: [PATCH 29/36] gnu: Add java-httpcomponents-httpcore-nio.,
Roel Janssen <=
bug#26803: [PATCH 27/36] gnu: Add java-mockito-1., Ricardo Wurmus, 2017/05/06
bug#26803: [PATCH 30/36] gnu: Add java-httpcomponents-httpcore-ab., Ricardo Wurmus, 2017/05/06
bug#26803: [PATCH 33/36] gnu: Add java-commons-httpclient., Ricardo Wurmus, 2017/05/06
bug#26803: [PATCH 32/36] gnu: Add java-httpcomponents-httpmime., Ricardo Wurmus, 2017/05/06