gnu: Add java-httpcomponents-httpcore-osgi.

* gnu/packages/java.scm (java-httpcomponents-httpcore-osgi): New variable.
This commit is contained in:
Liliana Marie Prikler 2023-07-29 16:50:40 +02:00
parent 6facf26f0e
commit 9a110021b3
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

@ -6242,6 +6242,32 @@ NIO.")))
(description "This package provides the HttpCore benchmarking tool. It is (description "This package provides the HttpCore benchmarking tool. It is
an Apache AB clone based on HttpCore."))) an Apache AB clone based on HttpCore.")))
(define-public java-httpcomponents-httpcore-osgi
(package (inherit java-httpcomponents-httpcore)
(name "java-httpcomponents-httpcore-osgi")
(arguments
`(#:jar-name "httpcomponents-httpcore-osgi.jar"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "httpcore-osgi"))))))
(inputs
(modify-inputs (package-inputs java-httpcomponents-httpcore)
(prepend java-httpcomponents-httpcore
java-httpcomponents-httpcore-nio
java-hamcrest-core)))
(native-inputs (list java-ops4j-pax-exam-core
java-ops4j-pax-exam-core-junit
java-ops4j-pax-exam-core-spi
java-junit))
(description "HttpCore is a set of low level HTTP transport components
that can be used to build custom client and server side HTTP services with a
minimal footprint. HttpCore supports two I/O models: blocking I/O model based
on the classic Java I/O and non-blocking, event driven I/O model based on Java
NIO.
This package provides... some tests.")))
(define-public java-httpcomponents-httpclient (define-public java-httpcomponents-httpclient
(package (package
(name "java-httpcomponents-httpclient") (name "java-httpcomponents-httpclient")