1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +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:
gemmaro 2025-06-15 08:33:29 +09:00 committed by Andreas Enge
parent 9b90033fa8
commit b2bc6ab38c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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.")
(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
(package
(name "perl-pod-spell")