[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28707] [PATCH 20/23] gnu: Add java-fasterxml-jackson-dataformat-yam
From: |
julien |
Subject: |
[bug#28707] [PATCH 20/23] gnu: Add java-fasterxml-jackson-dataformat-yaml. |
Date: |
Wed, 4 Oct 2017 22:37:32 +0200 |
From: Julien Lepiller <address@hidden>
* gnu/packages/java.scm (java-fasterxml-jackson-dataformat-yaml): New
variable.
---
gnu/packages/java.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 72e8fa236..e10e699f1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5819,3 +5819,51 @@ configuration.")
(synopsis "YAML processor")
(description "SnakeYAML is a YAML processor for the Java Virtual Machine.")
(license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
+
+(define-public java-fasterxml-jackson-dataformat-yaml
+ (package
+ (name "java-fasterxml-jackson-dataformat-yaml")
+ (version "2.9.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/FasterXML/"
+ "jackson-dataformats-text/archive/"
+ "jackson-dataformats-text-" version
".tar.gz"))
+ (sha256
+ (base32
+ "140fwcafv05zbh2ppa6z533dzmfcvzbdxf0dbpbyzqvd84v2vhl2"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "jackson-dataformat-yaml.jar"
+ #:source-dir "yaml/src/main/java"
+ #:test-dir "yaml/src/test"
+ #:test-exclude (list "**/failing/**.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'generate-PackageVersion.java
+ (lambda _
+ (let* ((out
"yaml/src/main/java/com/fasterxml/jackson/dataformat/yaml/PackageVersion.java")
+ (in (string-append out ".in")))
+ (copy-file in out)
+ (substitute* out
+ (("@package@") "com.fasterxml.jackson.dataformat.yaml")
+ (("@projectversion@") ,version)
+ (("@projectgroupid@") "com.fasterxml.jackson.dataformat.yaml")
+ (("@projectartifactid@") "jackson-dataformat-yaml"))))))))
+ (inputs
+ `(("java-fasterxml-jackson-annotations"
,java-fasterxml-jackson-annotations)
+ ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core)
+ ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind)
+ ("java-snakeyaml" ,java-snakeyaml)))
+ (native-inputs
+ `(("junit" ,java-junit)
+ ("hamcrest" ,java-hamcrest-core)
+ ("java-ops4j-pax-exam-core-spi" ,java-ops4j-pax-exam-core-spi)
+ ("java-ops4j-pax-exam-core-junit" ,java-ops4j-pax-exam-core-junit)
+ ("java-ops4j-pax-exam" ,java-ops4j-pax-exam-core)))
+ (home-page "https://github.com/FasterXML/jackson-dataformats-text")
+ (synopsis "Yaml backend for Jackson")
+ (description "Dataformat backends are used to support format alternatives
+to JSON, supported by default. This is done by sub-classing Jackson core
+abstractions.")
+ (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
--
2.14.2
- [bug#28707] [PATCH 10/23] gnu: Add java-aqute-bndlib., (continued)
- [bug#28707] [PATCH 10/23] gnu: Add java-aqute-bndlib., julien, 2017/10/04
- [bug#28707] [PATCH 03/23] gnu: Add java-ops4j-base-io., julien, 2017/10/04
- [bug#28707] [PATCH 06/23] gnu: Add java-ops4j-base-store., julien, 2017/10/04
- [bug#28707] [PATCH 15/23] gnu: Add java-fasterxml-jackson-annotations., julien, 2017/10/04
- [bug#28707] [PATCH 17/23] gnu: Add java-fasterxml-jackson-databind., julien, 2017/10/04
- [bug#28707] [PATCH 14/23] gnu: Add java-ops4j-pax-exam-core-junit., julien, 2017/10/04
- [bug#28707] [PATCH 09/23] gnu: Add java-aqute-libg., julien, 2017/10/04
- [bug#28707] [PATCH 13/23] gnu: Add java-ops4j-pax-exam-core-spi., julien, 2017/10/04
- [bug#28707] [PATCH 11/23] gnu: Add java-ops4j-pax-tinybundles., julien, 2017/10/04
- [bug#28707] [PATCH 04/23] gnu: Add java-ops4j-base-util., julien, 2017/10/04
- [bug#28707] [PATCH 20/23] gnu: Add java-fasterxml-jackson-dataformat-yaml.,
julien <=
- [bug#28707] [PATCH 19/23] gnu: Add java-snakeyaml., julien, 2017/10/04
- [bug#28707] [PATCH 22/23] gnu: Add java-woodstox-core., julien, 2017/10/04
- [bug#28707] [PATCH 23/23] gnu: Add java-fasterxml-jackson-dataformat-xml., julien, 2017/10/04
- [bug#28707] [PATCH 18/23] gnu: Add java-fasterxml-jackson-modules-base-jaxb., julien, 2017/10/04
- [bug#28707] [PATCH 16/23] gnu: Add java-fasterxml-jackson-core., julien, 2017/10/04
- [bug#28707] [PATCH 21/23] gnu: Add java-stax2-api., julien, 2017/10/04
- [bug#28707] [PATCH] java packages, Leo Famulari, 2017/10/09