[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29359] [PATCH 01/31] gnu: Add java-gson.
From: |
Julien Lepiller |
Subject: |
[bug#29359] [PATCH 01/31] gnu: Add java-gson. |
Date: |
Sun, 19 Nov 2017 18:57:35 +0100 |
* gnu/packages/java.scm (java-gson): New variable.
---
gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bd6c00365..3ddfba08f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7477,3 +7477,30 @@ outputting XML data from Java code.")
(description "Xbean-reflect provides very flexible ways to create objects
and graphs of objects for dependency injection frameworks")
(license license:asl2.0)))
+
+(define-public java-gson
+ (package
+ (name "java-gson")
+ (version "2.8.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/google/gson/archive/"
+ "gson-parent-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1j4qnp7v046q0k48c4kyf69sxaasx2h949d3cqwsm3kzxms3x0f9"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "gson.jar"
+ #:source-dir "gson/src/main/java"
+ #:test-dir "gson/src/test"))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "https://github.com/google/gson")
+ (synopsis "Java serialization/deserialization library from/to JSON")
+ (description "Gson is a Java library that can be used to convert Java
+Objects into their JSON representation. It can also be used to convert a JSON
+string to an equivalent Java object. Gson can work with arbitrary Java objects
+including pre-existing objects that you do not have source-code of.")
+ (license license:asl2.0)))
--
2.15.0
- [bug#29359] [PATCH 01/31] gnu: Add java-gson.,
Julien Lepiller <=
- [bug#29359] [PATCH 04/31] gnu: Add java-geronimo-xbean-asm-util., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 02/31] gnu: Add java-jsoup., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 08/31] gnu: Add java-jansi., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 05/31] gnu: Add java-geronimo-xbean-finder., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 12/31] gnu: Add java-joda-convert., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 15/31] gnu: Add java-apache-xml-commons-resolver., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 07/31] gnu: Add java-jansi-native., Julien Lepiller, 2017/11/19
- [bug#29359] [PATCH 03/31] gnu: Add java-geronimo-xbean-bundleutils., Julien Lepiller, 2017/11/19