guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: Add java-httpcomponents-httpcore-ab.


From: Ricardo Wurmus
Subject: 05/10: gnu: Add java-httpcomponents-httpcore-ab.
Date: Mon, 15 May 2017 16:00:59 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit e1dd78f68a8e0f29c416b5b7b1bbe5dc2cd610fb
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Mar 7 19:53:01 2017 +0100

    gnu: Add java-httpcomponents-httpcore-ab.
    
    * 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 032f58a..4716759 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]