diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-10-14 22:37:33 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-10-23 22:54:45 +0200 |
commit | 4a1376d3fda67e25cbd259ef09d8026a28e697e0 (patch) | |
tree | 223d5f1788e4a891ed82f61c1eeccae7267b90bf /gnu | |
parent | b90012fddf81dec30832d6f31e5b7048e9aa1bfe (diff) |
gnu: Add java-eclipse-jetty-http.
* gnu/packages/web.scm (java-eclipse-jetty-http): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/web.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0aa9d9bcb7..8059956801 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5636,3 +5636,32 @@ or embedded instantiation. This package provides IO-related utility classes.")) ("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."))) |