From cb2d7fa28d09c46b17fc289268858ced25fa146e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 16 Dec 2025 09:13:11 +0900 Subject: [PATCH] gnu: Add emacs-perl-doc. * gnu/packages/emacs-xyz.scm (emacs-perl-doc): New variable. Change-Id: I81d50af847dd251247085df3dca151a5b75958eb --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e57472f0c6008060a093afaf0ebad9bafa0b4c46..9d35685ce944c5c62c5230846ddfb38732203117 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -639,6 +639,29 @@ supported algorithm is chosen to ensure interoperability with Emacs Lisp.") (license license:gpl3))) +(define-public emacs-perl-doc + (package + (name "emacs-perl-doc") + (version "0.82") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/perl-doc-" version + ".tar")) + (sha256 + (base32 "1fj13361a9pgmlda8yix0p805r2gwzv1gxf43pq6y79a8hxbm8yn")))) + (build-system emacs-build-system) + (home-page "https://github.com/HaraldJoerg/emacs-perl-doc") + (synopsis "Read Perl documentation from Emacs") + (description + "This package contains a command to read Perl documentation in Emacs: @samp{M-x +perl-doc}. It uses two external commands which come with Perl: +@command{perldoc} to locate the Perl documentation for the Perl modules +installed on your system, and @command{pod2html} to format the documentation +to HTML. This HTML version is then displayed using the Emacs simple HTML +renderer, @code{shr}.") + (license license:gpl3+))) + (define-public emacs-sops (package (name "emacs-sops")