~ruther/guix-local

f9323c458500432ee38ff7fa0382c1571fc12268 — Maxim Cournoyer 6 months ago 7e5d062
gnu: perl-xml-libxslt: Update to 2.003000.

* gnu/packages/xml.scm (perl-xml-libxslt): Update to 2.003000.
[source] {patches}: Delete.
[#:phases]: New argument.
[inputs]: Replace libxml2 with libxml2-2.11, for the test suite to pass.

Change-Id: I850e9bec260bfd527372509bbe8eaa30883840a3
1 files changed, 19 insertions(+), 8 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +19 -8
@@ 697,7 697,7 @@ XML parser and the high performance DOM implementation.")
(define-public perl-xml-libxslt
  (package
    (name "perl-xml-libxslt")
    (version "1.96")
    (version "2.003000")
    (source
     (origin
       (method url-fetch)


@@ 705,14 705,25 @@ XML parser and the high performance DOM implementation.")
                           "XML-LibXSLT-" version ".tar.gz"))
       (sha256
        (base32
         "0wyl8klgr65j8y8fzgwz9jlvfjwvxazna8j3dg9gksd2v973fpia"))
       ;; Remove patch with update to version 2.003000.
       (patches (search-patches "perl-xml-libxslt-fix-configure.patch"))))
         "11s5spf0x5h6qzajfsza28m62z50cilcpvl4iffyafzmfbp5makw"))))
    (build-system perl-build-system)
    (inputs
     (list libxslt))
    (propagated-inputs
     (list perl-xml-libxml))
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'extend-INCLUDE_PATH
            ;; This hack is because the build system does not appear to use
            ;; the pkg-config Cflags, and expects the libxml2 headers to be
            ;; directly available from the FHS location (or C_INCLUDE_PATH),
            ;; but they are nested under a libxml2 subdirectory.
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "C_INCLUDE_PATH"
                      (string-append
                       (getenv "C_INCLUDE_PATH")
                       ":" (search-input-directory inputs
                                                   "include/libxml2"))))))))
    (inputs (list libxml2-2.11 libxslt))
    (propagated-inputs (list perl-xml-libxml))
    (home-page "https://metacpan.org/release/XML-LibXSLT")
    (synopsis "Perl bindings to GNOME libxslt library")
    (description "This Perl module is an interface to the GNOME project's