mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
gnu: Add perl-pod-site.
* gnu/packages/perl.scm (perl-pod-site): New variable. Change-Id: I4db66a75860b03fdfbc1b1f16c57aff103fc6f45 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
9b90033fa8
commit
b2bc6ab38c
1 changed files with 41 additions and 0 deletions
|
@ -9909,6 +9909,47 @@ the @dfn{Pod} (plain old documentation) markup language that is typically
|
||||||
used for writing documentation for Perl and for Perl modules.")
|
used for writing documentation for Perl and for Perl modules.")
|
||||||
(license (package-license perl))))
|
(license (package-license perl))))
|
||||||
|
|
||||||
|
(define-public perl-pod-site
|
||||||
|
(package
|
||||||
|
(name "perl-pod-site")
|
||||||
|
(version "0.56")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/Pod-Site-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0imi2sjrjnkc0p8j2g5alw492f5zgi1ryhw1izdwbvl85gabigmd"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet '(begin
|
||||||
|
(delete-file "t/build.t"))))) ;requires internet access
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'wrap-podsite
|
||||||
|
(lambda _
|
||||||
|
(wrap-program (string-append #$output "/bin/podsite")
|
||||||
|
`("PERL5LIB" ":" prefix
|
||||||
|
(,(getenv "PERL5LIB") ,(string-append #$output
|
||||||
|
"/lib/perl5/site_perl")))))))))
|
||||||
|
(native-inputs (list perl-module-build
|
||||||
|
perl-test-file
|
||||||
|
perl-test-mockmodule
|
||||||
|
perl-test-pod
|
||||||
|
perl-test-pod-coverage
|
||||||
|
perl-test-xpath))
|
||||||
|
(propagated-inputs (list perl-html-parser ;for HTML::Entities
|
||||||
|
perl-object-tiny))
|
||||||
|
(home-page "https://metacpan.org/release/Pod-Site")
|
||||||
|
(synopsis "Build browsable HTML documentation for Perl program")
|
||||||
|
(description
|
||||||
|
"This is a Perl package designed to generate browsable HTML
|
||||||
|
documentation from the POD (Plain Old Documentation) embedded in Perl source
|
||||||
|
code.")
|
||||||
|
(license (package-license perl))))
|
||||||
|
|
||||||
(define-public perl-pod-spell
|
(define-public perl-pod-spell
|
||||||
(package
|
(package
|
||||||
(name "perl-pod-spell")
|
(name "perl-pod-spell")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue