gnu: Add java-osgi-service-jdbc.

* gnu/packages/java.scm (java-osgi-service-jdbc): New variable.
This commit is contained in:
Julien Lepiller 2017-10-01 19:08:40 +02:00
parent 98c9f16c17
commit dd76d44b79
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5136,3 +5136,35 @@ (define-public java-osgi-service-log
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)))