aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fb8472f407..4e0146f7a7 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6332,6 +6332,23 @@ standards and recommendations.")
(description "This package provides an API for caching accessed HTTP
resources.")))
+(define-public java-httpcomponents-httpclient-osgi
+ (package (inherit java-httpcomponents-httpclient)
+ (name "java-httpcomponents-httpclient-osgi")
+ (arguments
+ `(#:jar-name "httpcomponents-httpclient-osgi.jar"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "httpclient-osgi") #t)))))
+ (inputs
+ (modify-inputs (package-inputs java-httpcomponents-httpclient)
+ (prepend java-httpcomponents-httpclient
+ java-httpcomponents-httpclient-cache
+ java-osgi-framework
+ java-osgi-service-cm
+ java-hamcrest-core)))))
+
(define-public java-httpcomponents-httpmime
(package (inherit java-httpcomponents-httpclient)
(name "java-httpcomponents-httpmime")