diff options
author | Julien Lepiller <julien@lepiller.eu> | 2019-05-03 14:29:52 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2019-11-13 22:49:33 +0100 |
commit | b635d2728e459ab47b3a599339326035a9982537 (patch) | |
tree | 29f8079d0ba961d1f6d8808a1fc7260c9bb1b2fe | |
parent | ff56e6efe3d9e992e167cbe016a31504e1675c3f (diff) | |
download | guix-b635d2728e459ab47b3a599339326035a9982537.tar guix-b635d2728e459ab47b3a599339326035a9982537.tar.gz |
gnu: Add java-commons-pool.
* gnu/packages/java.scm (java-commons-pool): New variable.
-rw-r--r-- | gnu/packages/java.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 883f8378b5..01e0ed4cad 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5109,6 +5109,38 @@ expressions to graphs of objects of all kinds: JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof.") (license license:asl2.0))) +(define-public java-commons-pool + (package + (name "java-commons-pool") + (version "2.6.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/commons/pool/source/" + "commons-pool2-" version "-src.tar.gz")) + (sha256 + (base32 + "1fi1hgqmq01bs6azbj3sfswxzadp2r8sjjfiq6ryilz1m50kvrv6")))) + (arguments + `(#:jar-name "common-pool.jar" + #:source-dir "src/main/java" + #:test-exclude + (list "**/PerformanceTest.java"))) + (build-system ant-build-system) + (inputs + `(("java-cglib" ,java-cglib))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core) + ("java-asm" ,java-asm) + ("java-objenesis" ,java-objenesis))) + (home-page "https://commons.apache.org/proper/commons-pool/") + (synopsis "Object-pooling API in Java") + (description "The commons-pool package provides an object-pooling API +and a number of object pool implementations. This package defines a +handful of pooling interfaces and some base classes that may be useful when +creating new pool implementations.") + (license license:asl2.0))) + (define-public java-jsr250 (package (name "java-jsr250") |