mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add java-eclipse-jetty-http.
* gnu/packages/web.scm (java-eclipse-jetty-http): New variable.
This commit is contained in:
parent
b90012fddf
commit
4a1376d3fd
1 changed files with 29 additions and 0 deletions
|
@ -5636,3 +5636,32 @@ (define-public java-eclipse-jetty-io-9.2
|
|||
("objenesis" ,java-objenesis)
|
||||
("asm" ,java-asm)
|
||||
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
||||
|
||||
(define-public java-eclipse-jetty-http
|
||||
(package
|
||||
(inherit java-eclipse-jetty-util)
|
||||
(name "java-eclipse-jetty-http")
|
||||
(arguments
|
||||
`(#:jar-name "eclipse-jetty-http.jar"
|
||||
#:source-dir "src/main/java"
|
||||
#:jdk ,icedtea-8
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'chdir
|
||||
(lambda _
|
||||
(chdir "jetty-http")
|
||||
#t))
|
||||
(add-before 'build 'copy-resources
|
||||
(lambda _
|
||||
(mkdir-p "build/classes")
|
||||
(copy-recursively "src/main/resources/" "build/classes/")
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("slf4j" ,java-slf4j-api)
|
||||
("servlet" ,java-tomcat)
|
||||
("io" ,java-eclipse-jetty-io)
|
||||
("util" ,java-eclipse-jetty-util)))
|
||||
(synopsis "Jetty :: Http Utility")
|
||||
(description "The Jetty Web Server provides an HTTP server and Servlet
|
||||
container capable of serving static and dynamic content either from a standalone
|
||||
or embedded instantiation. This package provides HTTP-related utility classes.")))
|
||||
|
|
Loading…
Reference in a new issue