summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 18:48:34 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:44 +0200
commitc2b14516e8f813a87c4aa9a29970226d5ec969b0 (patch)
tree74ca277a3b517dde57e63a05793ca25a8afb89eb
parentc304ce6aa11121b1bc0ad067908123688aeba999 (diff)
downloadguix-c2b14516e8f813a87c4aa9a29970226d5ec969b0.tar.gz
gnu: Add java-osgi-namespace-contract.
* gnu/packages/java.scm (java-osgi-namespace-contract): New variable.
-rw-r--r--gnu/packages/java.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 841122e81c..515188b04f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4886,3 +4886,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)))