diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2017-05-07 16:38:36 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2017-05-15 22:33:14 +0200 |
| commit | 77d7b57cdcc22a4ab6fc4b52e2edfeb974954f57 (patch) | |
| tree | eff3da968fc98ccc1623fa46874baccdbf784e00 /gnu | |
| parent | ff3f67668d045c6c1affca3d0dc9c65764e98196 (diff) | |
gnu: Add java-simple-xml.
* gnu/packages/xml.scm (java-simple-xml): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/xml.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 79210d44d0b..9635413b8f6 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | #:use-module ((guix licenses) #:prefix license:) | 44 | #:use-module ((guix licenses) #:prefix license:) |
| 45 | #:use-module (guix packages) | 45 | #:use-module (guix packages) |
| 46 | #:use-module (guix download) | 46 | #:use-module (guix download) |
| 47 | #:use-module (guix build-system ant) | ||
| 47 | #:use-module (guix build-system cmake) | 48 | #:use-module (guix build-system cmake) |
| 48 | #:use-module (guix build-system gnu) | 49 | #:use-module (guix build-system gnu) |
| 49 | #:use-module (guix build-system perl) | 50 | #:use-module (guix build-system perl) |
| @@ -1175,3 +1176,33 @@ to read and write XML data. A shared library is provided for parsing, | |||
| 1175 | generating, manipulating, and validating XML documents using the DOM, SAX, and | 1176 | generating, manipulating, and validating XML documents using the DOM, SAX, and |
| 1176 | SAX2 APIs.") | 1177 | SAX2 APIs.") |
| 1177 | (license license:asl2.0))) | 1178 | (license license:asl2.0))) |
| 1179 | |||
| 1180 | (define-public java-simple-xml | ||
| 1181 | (package | ||
| 1182 | (name "java-simple-xml") | ||
| 1183 | (version "2.7.1") | ||
| 1184 | (source (origin | ||
| 1185 | (method url-fetch) | ||
| 1186 | (uri (string-append "mirror://sourceforge/simple/simple-xml-" | ||
| 1187 | version ".zip")) | ||
| 1188 | (sha256 | ||
| 1189 | (base32 | ||
| 1190 | "0w19k1awslmihpwsxwjbg89hv0vjhk4k3i0vrfchy3mqknd988y5")))) | ||
| 1191 | (build-system ant-build-system) | ||
| 1192 | (arguments | ||
| 1193 | `(#:build-target "build" | ||
| 1194 | #:test-target "test" | ||
| 1195 | #:phases | ||
| 1196 | (modify-phases %standard-phases | ||
| 1197 | (replace 'install (install-jars "jar"))))) | ||
| 1198 | (native-inputs | ||
| 1199 | `(("unzip" ,unzip))) | ||
| 1200 | (home-page "http://simple.sourceforge.net/") | ||
| 1201 | (synopsis "XML serialization framework for Java") | ||
| 1202 | (description "Simple is a high performance XML serialization and | ||
| 1203 | configuration framework for Java. Its goal is to provide an XML framework | ||
| 1204 | that enables rapid development of XML configuration and communication systems. | ||
| 1205 | This framework aids the development of XML systems with minimal effort and | ||
| 1206 | reduced errors. It offers full object serialization and deserialization, | ||
| 1207 | maintaining each reference encountered.") | ||
| 1208 | (license license:asl2.0))) | ||
