summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 19:01:50 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:58 +0200
commita13acfbe5fd046b361190bcca52120f42108af9e (patch)
tree2b90834446d00fdaea39e7db1daf29b13f0930a9
parent2b1fdb2b65690df1a4ef0a45280af0564870909f (diff)
downloadguix-a13acfbe5fd046b361190bcca52120f42108af9e.tar.gz
gnu: Add java-osgi-service-repository.
* gnu/packages/java.scm (java-osgi-service-repository): New variable.
-rw-r--r--gnu/packages/java.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5e825485cd..207352b8b5 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5053,3 +5053,32 @@ value.  It handles the interactions for asynchronous processing.")
 and service platform for the Java programming language.  This package contains
 the support annotations for metatype.")
     (license license:asl2.0)))
+
+(define-public java-osgi-service-repository
+  (package
+    (name "java-osgi-service-repository")
+    (version "1.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+                                  "org.osgi.service.repository/"
+                                  version "/org.osgi.service.repository-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1k41mhg7b58pd8nsghr2qwcjrxdnf1p9spsw9v11k4257g6rl06n"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "osgi-service-repository.jar"
+       #:tests? #f)); no tests
+    (inputs
+     `(("annotation" ,java-osgi-annotation)
+       ("promise" ,java-osgi-util-promise)
+       ("resource" ,java-osgi-resource)))
+    (home-page "http://www.osgi.org")
+    (synopsis "OSGI service repository")
+    (description
+      "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+a repository service that contains resources.")
+    (license license:asl2.0)))