guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: gnu: Add pod2pdf.


From: guix-commits
Subject: 03/09: gnu: Add pod2pdf.
Date: Tue, 6 Dec 2022 04:42:27 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 5b3623e6fdc66c736a3bf6f2f2c6c90a9958abc5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 6 10:43:41 2022 +0200

    gnu: Add pod2pdf.
    
    * gnu/packages/documentation.scm (pod2pdf): New variable.
---
 gnu/packages/documentation.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 585a295fb4..3ded8e1cac 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -36,6 +36,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
   #:use-module (guix deprecation)
@@ -262,6 +263,32 @@ browsing.  The documentation is extracted directly from 
the C/C++/IDL source
 or Java class files.")
     (license gpl2+)))
 
+(define-public pod2pdf
+  (package
+    (name "pod2pdf")
+    (version "0.42")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                     "mirror://cpan/authors/id/J/JO/JONALLEN/pod2pdf-"
+                     version
+                     ".tar.gz"))
+              (sha256
+                (base32
+                  "0w5p7yy01vph74nfr9qzjb18p1avmhhcpza0qz9r88fmb0blbiyv"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     (list perl-getopt-argvfile
+           perl-pdf-api2
+           perl-pod-parser))
+    (home-page "https://metacpan.org/release/pod2pdf";)
+    (synopsis "Convert Pod to PDF format")
+    (description "pod2pdf converts documents written in Perl's @acronym{POD, 
Plain Old
+Documentation} format to PDF files.  It also supports some extensions to the 
POD
+format, and supports the file types JPG, GIF, TIFF, PNG, and PNM for embedded
+objects.")
+    (license artistic2.0)))
+
 (define-public python-docrepr
   (package
     (name "python-docrepr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]