me
/
guix
Archived
1
0
Fork 0

gnu: Add java-httpcomponents-httpclient-osgi.

* gnu/packages/java.scm (java-httpcomponents-httpclient-osgi): New variable.
Liliana Marie Prikler 2023-07-29 16:54:21 +02:00
parent 9a110021b3
commit fb64a1bd58
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 17 additions and 0 deletions

View File

@ -6332,6 +6332,23 @@ standards and recommendations.")
(description "This package provides an API for caching accessed HTTP (description "This package provides an API for caching accessed HTTP
resources."))) 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 (define-public java-httpcomponents-httpmime
(package (inherit java-httpcomponents-httpclient) (package (inherit java-httpcomponents-httpclient)
(name "java-httpcomponents-httpmime") (name "java-httpcomponents-httpmime")