From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8jV5-00041z-1I for guix-patches@gnu.org; Thu, 11 May 2017 04:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8jV0-0002sy-5O for guix-patches@gnu.org; Thu, 11 May 2017 04:31:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8jUz-0002sj-VI for guix-patches@gnu.org; Thu, 11 May 2017 04:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8jUz-0005CC-PY for guix-patches@gnu.org; Thu, 11 May 2017 04:31:01 -0400 Subject: bug#26803: [PATCH 30/36] gnu: Add java-httpcomponents-httpcore-ab. Resent-Message-ID: References: <20170506153617.3074-1-rekado@elephly.net> <20170506153617.3074-30-rekado@elephly.net> From: Roel Janssen In-reply-to: <20170506153617.3074-30-rekado@elephly.net> Date: Thu, 11 May 2017 10:30:30 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26803@debbugs.gnu.org Ricardo Wurmus writes: > * gnu/packages/java.scm (java-httpcomponents-httpcore-ab): New variable. > --- > gnu/packages/java.scm | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index 620a276d0..19642cbfc 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -2095,6 +2095,24 @@ NIO. > This package provides the non-blocking I/O model library based on Java > NIO."))) > > +(define-public java-httpcomponents-httpcore-ab > + (package (inherit java-httpcomponents-httpcore) > + (name "java-httpcomponents-httpcore-ab") > + (arguments > + `(#:jar-name "httpcomponents-httpcore-ab.jar" > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'chdir > + (lambda _ (chdir "httpcore-ab") #t))))) > + (inputs > + `(("java-httpcomponents-httpcore" ,java-httpcomponents-httpcore) > + ("java-commons-cli" ,java-commons-cli) > + ("java-hamcrest-core" ,java-hamcrest-core) > + ,@(package-inputs java-httpcomponents-httpcore))) > + (synopsis "Apache HttpCore benchmarking tool") > + (description "This package provides the HttpCore benchmarking tool. It is > +an Apache AB clone based on HttpCore."))) > + > (define-public java-commons-cli > (package > (name "java-commons-cli") HttpCore again. LGTM! Kind regards, Roel Janssen