aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 16:54:21 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:45 +0200
commitfb64a1bd58481ba7e282b59fae2d0d75371cf34b (patch)
tree5f62a0ab053067de3155b95d8eb44703813fdeb1 /gnu/packages
parent9a110021b363c2cc7198b19d22934cbee92c651d (diff)
downloadguix-fb64a1bd58481ba7e282b59fae2d0d75371cf34b.tar.gz
guix-fb64a1bd58481ba7e282b59fae2d0d75371cf34b.zip
gnu: Add java-httpcomponents-httpclient-osgi.
* gnu/packages/java.scm (java-httpcomponents-httpclient-osgi): New variable.
Diffstat (limited to 'gnu/packages')
-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")