summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 18:56:47 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:51 +0200
commit0f0c52187bf8ace8d45c58acab4091fefe6835de (patch)
treedb872224bce912f543500f97ce69992d5cd2ff90 /gnu/packages/java.scm
parentb784962d966c5e6b63f1d55e4f11d68c431d1e49 (diff)
downloadguix-0f0c52187bf8ace8d45c58acab4091fefe6835de.tar.gz
gnu: Add java-osgi-util-function.
* gnu/packages/java.scm (java-osgi-util-function): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8cc79b1234..c0bbce31f7 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4970,3 +4970,30 @@ the names for the attributes and directives for an extender namespace.")
 and service platform for the Java programming language.  This package contains
 the names for the attributes and directives for a service namespace.")
     (license license:asl2.0)))
+
+(define-public java-osgi-util-function
+  (package
+    (name "java-osgi-util-function")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+                                  "org.osgi.util.function/"
+                                  version "/org.osgi.util.function-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "04l7j3hwmmj28w23m7paca0afzncs42j2mdr3liqq8kvp548sc6x"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "osgi-util-function.jar"
+       #:tests? #f)); no tests
+    (inputs
+     `(("annotation" ,java-osgi-annotation)))
+    (home-page "http://www.osgi.org")
+    (synopsis "OSGI Util Function")
+    (description
+      "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+an interface for a function that accepts a single argument and produces a result.")
+    (license license:asl2.0)))