diff options
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r-- | gnu/packages/xml.scm | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 7460b5d85f..0ceae029bc 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> -;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com> @@ -14,6 +14,7 @@ ;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net> ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com> +;;; Copyright © 2017 humanitiesNerd <catonano@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1122,3 +1123,54 @@ files. It is designed to be fast and to handle large input files.") "libxls is a C library which can read Excel (xls) files since Excel 97 (the BIFF8 format). libxls cannot write Excel files.") (license license:bsd-2))) + +(define-public freexl + (package + (name "freexl") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (string-append "http://www.gaia-gis.it/gaia-sins/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "17a0yrjb0gln7819j0vp7y25imhvwpil2b0rm44mwgzml0a4i6mk")))) + (build-system gnu-build-system) + (home-page "https://www.gaia-gis.it/fossil/freexl/index") + (synopsis "Read Excel files") + (description + "FreeXL is a C library to extract valid data from within an Excel (.xls) +spreadsheet.") + ;; Any of these licenses may be picked. + (license (list license:gpl2+ + license:lgpl2.1+ + license:mpl1.1)))) + +(define-public xerces-c + (package + (name "xerces-c") + (version "3.1.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/xerces/c/3/sources/" + "xerces-c-" version ".tar.xz")) + (sha256 + (base32 + "0hb29c0smqlpxj0zdm09s983z5jx37szlliccnvgh0qq91wwqwwr")))) + (build-system gnu-build-system) + (arguments + (let ((system (or (%current-target-system) + (%current-system)))) + (if (string-prefix? "x86_64" system) + '() + '(#:configure-flags '("--disable-sse2"))))) + (native-inputs + `(("perl" ,perl))) + (home-page "http://xerces.apache.org/xerces-c/") + (synopsis "Validating XML parser library for C++") + (description "Xerces-C++ is a validating XML parser written in a portable +subset of C++. Xerces-C++ makes it easy to give your application the ability +to read and write XML data. A shared library is provided for parsing, +generating, manipulating, and validating XML documents using the DOM, SAX, and +SAX2 APIs.") + (license license:asl2.0))) |