diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2017-03-07 19:52:23 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2017-05-15 22:00:00 +0200 |
| commit | 4f4d2e470ddd72d0a96c4b5a40d9874ee9256a2e (patch) | |
| tree | 92d965b0ce5053fb1328ea6598a0745f1d2f9aa9 /gnu | |
| parent | 90e65abe426828d2077b1ae935f9c2d4075c4d5c (diff) | |
gnu: Add java-httpcomponents-httpcore.
* gnu/packages/java.scm (java-httpcomponents-httpcore): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/java.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 900dbc8a5c5..ee7d7d4af28 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -2037,6 +2037,42 @@ tests with a clean and simple API. It generates mocks using reflection, and | |||
| 2037 | it records all mock invocations, including methods arguments.") | 2037 | it records all mock invocations, including methods arguments.") |
| 2038 | (license license:asl2.0))) | 2038 | (license license:asl2.0))) |
| 2039 | 2039 | ||
| 2040 | (define-public java-httpcomponents-httpcore | ||
| 2041 | (package | ||
| 2042 | (name "java-httpcomponents-httpcore") | ||
| 2043 | (version "4.4.6") | ||
| 2044 | (source (origin | ||
| 2045 | (method url-fetch) | ||
| 2046 | (uri (string-append "mirror://apache//httpcomponents/httpcore/" | ||
| 2047 | "source/httpcomponents-core-" | ||
| 2048 | version "-src.tar.gz")) | ||
| 2049 | (sha256 | ||
| 2050 | (base32 | ||
| 2051 | "02bwcf38y4vgwq7kj2s6q7qrmma641r5lacivm16kgxvb2j6h1vy")))) | ||
| 2052 | (build-system ant-build-system) | ||
| 2053 | (arguments | ||
| 2054 | `(#:jar-name "httpcomponents-httpcore.jar" | ||
| 2055 | #:phases | ||
| 2056 | (modify-phases %standard-phases | ||
| 2057 | (add-after 'unpack 'chdir | ||
| 2058 | (lambda _ (chdir "httpcore") #t))))) | ||
| 2059 | (inputs | ||
| 2060 | `(("java-commons-logging-minimal" ,java-commons-logging-minimal) | ||
| 2061 | ("java-commons-lang3" ,java-commons-lang3))) | ||
| 2062 | (native-inputs | ||
| 2063 | `(("java-junit" ,java-junit) | ||
| 2064 | ("java-mockito" ,java-mockito-1))) | ||
| 2065 | (home-page "https://hc.apache.org/httpcomponents-core-4.4.x/index.html") | ||
| 2066 | (synopsis "Low level HTTP transport components") | ||
| 2067 | (description "HttpCore is a set of low level HTTP transport components | ||
| 2068 | that can be used to build custom client and server side HTTP services with a | ||
| 2069 | minimal footprint. HttpCore supports two I/O models: blocking I/O model based | ||
| 2070 | on the classic Java I/O and non-blocking, event driven I/O model based on Java | ||
| 2071 | NIO. | ||
| 2072 | |||
| 2073 | This package provides the blocking I/O model library.") | ||
| 2074 | (license license:asl2.0))) | ||
| 2075 | |||
| 2040 | (define-public java-commons-cli | 2076 | (define-public java-commons-cli |
| 2041 | (package | 2077 | (package |
| 2042 | (name "java-commons-cli") | 2078 | (name "java-commons-cli") |
