summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 18:32:04 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:39 +0200
commit999b5fb4d266b94c9af4387756a09d23e651606f (patch)
treee4006b49a73e07b6267641ff0e3c39542bd74ea4 /gnu/packages
parent747c75746f32d1f4e6467223d787444ad6bddf4a (diff)
downloadguix-999b5fb4d266b94c9af4387756a09d23e651606f.tar.gz
gnu: Add java-osgi-dto.
* gnu/packages/java.scm (java-osgi-dto): New variable.
Diffstat (limited to 'gnu/packages')
-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 eb06415834..ef4199cbc4 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4829,3 +4829,32 @@ in compiling bundles.")
 and service platform for the Java programming language.  This package contains
 the support annotations for osgi-service-component.")
     (license license:asl2.0)))
+
+(define-public java-osgi-dto
+  (package
+    (name "java-osgi-dto")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+                                  "org.osgi.dto/" version "/org.osgi.dto-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0f4bqjzadn0hwk6sd3h5gvbyfp3yci1s6r0v770cc15p0pg627yr"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "osgi-dto.jar"
+       #:tests? #f)); no tests
+    (inputs
+     `(("annotation" ,java-osgi-annotation)))
+    (home-page "http://www.osgi.org")
+    (synopsis "Data Transfer Objects")
+    (description
+      "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the Data Transfer Objects.  It is easily serializable having only public fields
+of primitive types and their wrapper classes, Strings, and DTOs.  List, Set,
+Map and array aggregates may also be used.  The aggregates must only hold
+objects of the listed types or aggregates.")
+    (license license:asl2.0)))