Subject: [bug#28663] [PATCH 09/22] gnu: Add java-osgi-namespace-contract.

From: [email-masked]
Date: Sun, 1 Oct 2017 19:53:21 +0200

From: Julien Lepiller <[email-masked]>

* gnu/packages/java.scm (java-osgi-namespace-contract): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c3ad83178..a3651149f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4915,3 +4915,31 @@ objects of the listed types or aggregates.")
 and service platform for the Java programming language.  This package contains
 the definition of common types in osgi packages.")
     (license license:asl2.0)))
+
+(define-public java-osgi-namespace-contract
+  (package
+    (name "java-osgi-namespace-contract")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+                                  "org.osgi.namespace.contract/"
+                                  version "/org.osgi.namespace.contract-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1iz4f2i0fvqrlq90ki9nfzcfpvy2av434ri25bglywqssx8mmp36"))))
+    (build-system ant-build-system)
+    (inputs
+     `(("resource" ,java-osgi-resource)
+       ("annotation" ,java-osgi-annotation)))
+    (arguments
+     `(#:jar-name "osgi-namespace-contract.jar"
+       #:tests? #f)); no tests
+    (home-page "http://www.osgi.org")
+    (synopsis "Contract Capability and Requirement Namespace")
+    (description
+      "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the names for the attributes and directives for a namespace with contracts.")
+    (license license:asl2.0)))
-- 
2.14.1