Subject: [PATCH 15/23] gnu: Add java-fasterxml-jackson-annotations.

From: [email-masked]
Date: Wed, 4 Oct 2017 22:37:27 +0200

From: Julien Lepiller <[email-masked]>

* gnu/packages/java.scm (java-fasterxml-jackson-annotations): New
variable.
---
 gnu/packages/java.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index df70f2637..4a92533ab 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5623,3 +5623,29 @@ the system under test at the same time.")
        ("core" ,java-ops4j-pax-exam-core)
        ("spi" ,java-ops4j-pax-exam-core-spi)))
     (native-inputs '())))
+
+(define-public java-fasterxml-jackson-annotations
+  (package
+    (name "java-fasterxml-jackson-annotations")
+    (version "2.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/FasterXML/"
+                                  "jackson-annotations/archive/"
+                                  "jackson-annotations-" version ".tar.gz"))
+              (sha256
+               (base32
+                "005ksgqx2ds3zdmlvbcmmz82y28b1mx0i9bpvprim1jaddbba0bd"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "jackson-annotations.jar"
+       #:source-dir "src/main/java"
+       #:test-dir "src/test"))
+    (native-inputs
+     `(("junit" ,java-junit)))
+    (home-page "https://github.com/FasterXML/jackson-annotations")
+    (synopsis "General purpose annotations for the Jackson Data Processor")
+    (description "This package contains general purpose annotations for the
+Jackson Data Processor, used on value and handler types.  The only annotations
+not included are ones that require dependency to the Databind package.")
+    (license license:asl2.0)))
-- 
2.14.2