aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 19:08:40 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:39:05 +0200
commitdd76d44b79f44b7900d9a1a0eb67af0e8ac0e5ba (patch)
tree37e412ed8144193ff72875d7d22cc24b9a6edb0d /gnu/packages/java.scm
parent98c9f16c17f9283c584a5d99713aa18ce7310c69 (diff)
downloadgnu-guix-dd76d44b79f44b7900d9a1a0eb67af0e8ac0e5ba.tar
gnu-guix-dd76d44b79f44b7900d9a1a0eb67af0e8ac0e5ba.tar.gz
gnu: Add java-osgi-service-jdbc.
* gnu/packages/java.scm (java-osgi-service-jdbc): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0b5591b8aa..a4b877cec3 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5136,3 +5136,35 @@ and service platform for the Java programming language.")
and service platform for the Java programming language. This package contains
the log service.")
(license license:asl2.0)))
+
+(define-public java-osgi-service-jdbc
+ (package
+ (name "java-osgi-service-jdbc")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+ "org.osgi.service.jdbc/"
+ version "/org.osgi.service.jdbc-"
+ version "-sources.jar"))
+ (sha256
+ (base32
+ "11iln5v7bk469cgb9ddkrz9sa95b3733gqgaqw9xf5g6wq652yjz"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "osgi-service-jdbc.jar"
+ #:tests? #f)); no tests
+ (home-page "http://www.osgi.org")
+ (synopsis "Factory for JDBC connection factories")
+ (description
+ "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language. This package contains
+a factory for JDBC connection factories. There are 3 preferred connection
+factories for getting JDBC connections:
+
+@itemize
+@item @code{javax.sql.DataSource};
+@item @code{javax.sql.ConnectionPoolDataSource};
+@item @code{javax.sql.XADataSource}.
+@end itemize")
+ (license license:asl2.0)))