gnu: perl-xml-atom: Update to 0.42.

* gnu/packages/xml.scm (perl-xml-atom): Update to 0.42.
[arguments]: Add 'set-perl-search-path' phase.
[native-inputs]: Add PERL-HTML-TAGSET and PERL-MODULE-BUILD-TINY.
This commit is contained in:
Marius Bakke 2017-08-27 14:52:46 +02:00
parent 9978567460
commit 522f199562
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -227,18 +227,29 @@ (define-public perl-graph-readwrite
(define-public perl-xml-atom (define-public perl-xml-atom
(package (package
(name "perl-xml-atom") (name "perl-xml-atom")
(version "0.41") (version "0.42")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/" (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
"XML-Atom-" version ".tar.gz")) "XML-Atom-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"17lnkb9ymrhk2z642bhj5i2bv3q1da3kpp2lvsl0yhqshk3wdjj8")))) "1wa8kfy1w4mg7kzxim4whyprkn48a2il6fap0b947zywknw4c6y6"))))
(build-system perl-build-system) (build-system perl-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-perl-search-path
(lambda _
(setenv "PERL5LIB"
(string-append (getcwd) ":"
(getenv "PERL5LIB")))
#t)))))
(native-inputs (native-inputs
`(("perl-datetime" ,perl-datetime) `(("perl-datetime" ,perl-datetime)
;; TODO package: perl-datetime-format-atom ;; TODO package: perl-datetime-format-atom
("perl-html-tagset" ,perl-html-tagset)
("perl-module-build-tiny" ,perl-module-build-tiny)
("perl-module-install" ,perl-module-install) ("perl-module-install" ,perl-module-install)
("perl-xml-xpath" ,perl-xml-xpath))) ("perl-xml-xpath" ,perl-xml-xpath)))
(inputs (inputs