[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/32: gnu: Add java-gson.
From: |
julien lepiller |
Subject: |
01/32: gnu: Add java-gson. |
Date: |
Sat, 10 Feb 2018 13:05:07 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 09c44196e10e7f619715fcc2beb7a1e67239638e
Author: Julien Lepiller <address@hidden>
Date: Sat Nov 18 14:28:13 2017 +0100
gnu: Add java-gson.
* 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 e2a0f75..20d32bd 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7761,3 +7761,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)))
- branch master updated (04162e8 -> 73a1f10), julien lepiller, 2018/02/10
- 01/32: gnu: Add java-gson.,
julien lepiller <=
- 02/32: gnu: Add java-jsoup., julien lepiller, 2018/02/10
- 05/32: gnu: Add java-geronimo-xbean-finder., julien lepiller, 2018/02/10
- 09/32: gnu: Add java-jboss-el-api-spec., julien lepiller, 2018/02/10
- 04/32: gnu: Add java-geronimo-xbean-asm-util., julien lepiller, 2018/02/10
- 03/32: gnu: Add java-geronimo-xbean-bundleutils., julien lepiller, 2018/02/10
- 08/32: gnu: Add java-jansi., julien lepiller, 2018/02/10
- 16/32: gnu: Add java-apache-xml-commons-resolver., julien lepiller, 2018/02/10
- 06/32: gnu: Add java-hawtjni., julien lepiller, 2018/02/10
- 14/32: licenses: Add W3C license., julien lepiller, 2018/02/10
- 07/32: gnu: Add java-jansi-native., julien lepiller, 2018/02/10