From dd76d44b79f44b7900d9a1a0eb67af0e8ac0e5ba Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 1 Oct 2017 19:08:40 +0200 Subject: [PATCH] gnu: Add java-osgi-service-jdbc. * gnu/packages/java.scm (java-osgi-service-jdbc): New variable. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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)))