[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: Add java-httpcomponents-httpclient.
From: |
Ricardo Wurmus |
Subject: |
06/10: gnu: Add java-httpcomponents-httpclient. |
Date: |
Mon, 15 May 2017 16:00:59 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 14a671d8f9e628e06b40356b9a505df94eb89154
Author: Ricardo Wurmus <address@hidden>
Date: Tue Mar 7 19:53:40 2017 +0100
gnu: Add java-httpcomponents-httpclient.
* gnu/packages/java.scm (java-httpcomponents-httpclient): New variable.
---
gnu/packages/java.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4716759..b3c1cb9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2113,6 +2113,42 @@ NIO.")))
(description "This package provides the HttpCore benchmarking tool. It is
an Apache AB clone based on HttpCore.")))
+(define-public java-httpcomponents-httpclient
+ (package
+ (name "java-httpcomponents-httpclient")
+ (version "4.5.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/httpcomponents/httpclient/"
+ "source/httpcomponents-client-"
+ version "-src.tar.gz"))
+ (sha256
+ (base32
+ "1428399s7qy3cim5wc6f3ks4gl9nf9vkjpfmnlap3jflif7g2pj1"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "httpcomponents-httpclient.jar"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "httpclient") #t)))))
+ (inputs
+ `(("java-commons-logging-minimal" ,java-commons-logging-minimal)
+ ("java-commons-codec" ,java-commons-codec)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ("java-httpcomponents-httpcore" ,java-httpcomponents-httpcore)
+ ("java-mockito" ,java-mockito-1)
+ ("java-junit" ,java-junit)))
+ (home-page "https://hc.apache.org/httpcomponents-client-ga/")
+ (synopsis "HTTP client library for Java")
+ (description "Although the @code{java.net} package provides basic
+functionality for accessing resources via HTTP, it doesn't provide the full
+flexibility or functionality needed by many applications. @code{HttpClient}
+seeks to fill this void by providing an efficient, up-to-date, and
+feature-rich package implementing the client side of the most recent HTTP
+standards and recommendations.")
+ (license license:asl2.0)))
+
(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, 2017/05/15
- 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 <=
- 08/10: gnu: Add java-commons-net., Ricardo Wurmus, 2017/05/15
- 02/10: gnu: Add java-mockito-1., Ricardo Wurmus, 2017/05/15