gnu: Add java-httpcomponents-httpcore-ab.

* gnu/packages/java.scm (java-httpcomponents-httpcore-ab): New variable.
This commit is contained in:
Ricardo Wurmus 2017-03-07 19:53:01 +01:00
parent 3a068b4307
commit e1dd78f68a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 18 additions and 0 deletions

View File

@ -2095,6 +2095,24 @@ NIO.
This package provides the non-blocking I/O model library based on Java This package provides the non-blocking I/O model library based on Java
NIO."))) 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 (define-public java-commons-cli
(package (package
(name "java-commons-cli") (name "java-commons-cli")