You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.6 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
  4. ;;;
  5. ;;; This file is part of GNU Guix.
  6. ;;;
  7. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  8. ;;; under the terms of the GNU General Public License as published by
  9. ;;; the Free Software Foundation; either version 3 of the License, or (at
  10. ;;; your option) any later version.
  11. ;;;
  12. ;;; GNU Guix is distributed in the hope that it will be useful, but
  13. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ;;; GNU General Public License for more details.
  16. ;;;
  17. ;;; You should have received a copy of the GNU General Public License
  18. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. (define-module (gnu packages xml)
  20. #:use-module (gnu packages)
  21. #:use-module (gnu packages perl)
  22. #:use-module (gnu packages python)
  23. #:use-module ((guix licenses)
  24. #:renamer (symbol-prefix-proc 'license:))
  25. #:use-module (guix packages)
  26. #:use-module (guix download)
  27. #:use-module (guix build-system gnu))
  28. (define-public expat
  29. (package
  30. (name "expat")
  31. (version "2.1.0")
  32. (source (origin
  33. (method url-fetch)
  34. (uri (string-append "mirror://sourceforge/expat/expat/"
  35. version "/expat-" version ".tar.gz"))
  36. (sha256
  37. (base32
  38. "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2"))))
  39. (build-system gnu-build-system)
  40. (home-page "http://www.libexpat.org/")
  41. (synopsis "A stream-oriented XML parser library written in C")
  42. (description
  43. "Expat is an XML parser library written in C. It is a
  44. stream-oriented parser in which an application registers handlers for
  45. things the parser might find in the XML document (like start tags).")
  46. (license license:expat)))
  47. (define-public libxml2
  48. (package
  49. (name "libxml2")
  50. (version "2.9.0")
  51. (source (origin
  52. (method url-fetch)
  53. (uri (string-append "ftp://xmlsoft.org/libxml2/libxml2-"
  54. version ".tar.gz"))
  55. (sha256
  56. (base32
  57. "10ib8bpar2pl68aqksfinvfmqknwnk7i35ibq6yjl8dpb0cxj9dd"))))
  58. (build-system gnu-build-system)
  59. (home-page "http://www.xmlsoft.org/")
  60. (synopsis "libxml2, a C parser for XML")
  61. (inputs `(("perl" ,perl)
  62. ("python" ,python)))
  63. (description
  64. "Libxml2 is the XML C parser and toolkit developed for the Gnome project
  65. (but it is usable outside of the Gnome platform).")
  66. (license license:x11)))