diff options
Diffstat (limited to 'gnu/packages/parallel.scm')
-rw-r--r-- | gnu/packages/parallel.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 9503b1df83..853fdaaa5f 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -45,6 +45,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages check) + #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages freeipmi) #:use-module (gnu packages linux) @@ -63,20 +64,25 @@ (define-public parallel (package (name "parallel") - (version "20220822") + (version "20221222") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/parallel/parallel-" version ".tar.bz2")) (sha256 - (base32 "05mh3bbl7c9c945jqhlfspjqji79zq8ml27k6ihaqi8bqibl83cx")) + (base32 "0zsrz25yyhkvrkvlblmgrqhcyr9zavflknz3nhql9a8qxixhraad")) (snippet '(begin (use-modules (guix build utils)) ;; Delete pre-generated manpages and documents. - ;; TODO: Add pod2pdf for pdfs, generate rst files. - (for-each delete-file (find-files "src" "\\.(1|7|html)$")))))) + ;; TODO: generate rst files. + ;; parallel_cheat_bw.pdf uses libreoffice to be generated. + (rename-file "src/parallel_cheat_bw.pdf" + "src/parallel_cheat_bw.pdf-keep") + (for-each delete-file (find-files "src" "\\.(1|7|html|pdf)$")) + (rename-file "src/parallel_cheat_bw.pdf-keep" + "src/parallel_cheat_bw.pdf"))))) (build-system gnu-build-system) (arguments `(#:phases @@ -111,7 +117,7 @@ "echo" ":::" "1" "2" "3")))))) (native-inputs - (list perl)) + (list perl pod2pdf)) (inputs (list bash-minimal perl procps)) (home-page "https://www.gnu.org/software/parallel/") |