diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2025-06-15 08:33:29 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-15 16:42:53 +0200 |
| commit | b2bc6ab38cc82dc00b63eabdaf19d009cd3f2442 (patch) | |
| tree | d459c87b43139939be53779a6e92852da2f5561c | |
| parent | 9b90033fa809ef7bd71f2a963caf563ca1ba5470 (diff) | |
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>
| -rw-r--r-- | gnu/packages/perl.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 8c89009cc0a..49093478323 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm | |||
| @@ -9909,6 +9909,47 @@ the @dfn{Pod} (plain old documentation) markup language that is typically | |||
| 9909 | used for writing documentation for Perl and for Perl modules.") | 9909 | used for writing documentation for Perl and for Perl modules.") |
| 9910 | (license (package-license perl)))) | 9910 | (license (package-license perl)))) |
| 9911 | 9911 | ||
| 9912 | (define-public perl-pod-site | ||
| 9913 | (package | ||
| 9914 | (name "perl-pod-site") | ||
| 9915 | (version "0.56") | ||
| 9916 | (source | ||
| 9917 | (origin | ||
| 9918 | (method url-fetch) | ||
| 9919 | (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/Pod-Site-" | ||
| 9920 | version ".tar.gz")) | ||
| 9921 | (sha256 | ||
| 9922 | (base32 "0imi2sjrjnkc0p8j2g5alw492f5zgi1ryhw1izdwbvl85gabigmd")) | ||
| 9923 | (modules '((guix build utils))) | ||
| 9924 | (snippet '(begin | ||
| 9925 | (delete-file "t/build.t"))))) ;requires internet access | ||
| 9926 | (build-system perl-build-system) | ||
| 9927 | (arguments | ||
| 9928 | (list | ||
| 9929 | #:phases | ||
| 9930 | #~(modify-phases %standard-phases | ||
| 9931 | (add-after 'install 'wrap-podsite | ||
| 9932 | (lambda _ | ||
| 9933 | (wrap-program (string-append #$output "/bin/podsite") | ||
| 9934 | `("PERL5LIB" ":" prefix | ||
| 9935 | (,(getenv "PERL5LIB") ,(string-append #$output | ||
| 9936 | "/lib/perl5/site_perl"))))))))) | ||
| 9937 | (native-inputs (list perl-module-build | ||
| 9938 | perl-test-file | ||
| 9939 | perl-test-mockmodule | ||
| 9940 | perl-test-pod | ||
| 9941 | perl-test-pod-coverage | ||
| 9942 | perl-test-xpath)) | ||
| 9943 | (propagated-inputs (list perl-html-parser ;for HTML::Entities | ||
| 9944 | perl-object-tiny)) | ||
| 9945 | (home-page "https://metacpan.org/release/Pod-Site") | ||
| 9946 | (synopsis "Build browsable HTML documentation for Perl program") | ||
| 9947 | (description | ||
| 9948 | "This is a Perl package designed to generate browsable HTML | ||
| 9949 | documentation from the POD (Plain Old Documentation) embedded in Perl source | ||
| 9950 | code.") | ||
| 9951 | (license (package-license perl)))) | ||
| 9952 | |||
| 9912 | (define-public perl-pod-spell | 9953 | (define-public perl-pod-spell |
| 9913 | (package | 9954 | (package |
| 9914 | (name "perl-pod-spell") | 9955 | (name "perl-pod-spell") |
