summaryrefslogtreecommitdiff
path: root/gnu/packages/man.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-30 13:39:54 +0200
committerMarius Bakke <marius@gnu.org>2022-06-30 23:26:17 +0200
commit79beb855991c907159bd7fa16feb47e1bc09ac9b (patch)
tree209e7f19496371dfdf49bd3a020518ac3cdb6267 /gnu/packages/man.scm
parentddff3be27e995f9d1e3e5fa545da4961d616051c (diff)
gnu: help2man: Remove input labels.
* gnu/packages/man.scm (help2man)[arguments]: Rewrite as G-expression. [inputs, native-inputs]: Remove labels.
Diffstat (limited to 'gnu/packages/man.scm')
-rw-r--r--gnu/packages/man.scm50
1 files changed, 25 insertions, 25 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 98a285593e0..89db08cab89 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -6,7 +6,7 @@
6;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il> 6;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
7;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr> 7;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
8;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com> 8;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
9;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com> 9;;; Copyright © 2018, 2019, 2022 Marius Bakke <marius@gnu.org>
10;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> 10;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
11;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> 11;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
12;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 12;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@@ -310,33 +310,33 @@ Linux kernel and C library interfaces employed by user-space programs.")
310 (version "1.49.2") 310 (version "1.49.2")
311 (source 311 (source
312 (origin 312 (origin
313 (method url-fetch) 313 (method url-fetch)
314 (uri (string-append "mirror://gnu/help2man/help2man-" 314 (uri (string-append "mirror://gnu/help2man/help2man-"
315 version ".tar.xz")) 315 version ".tar.xz"))
316 (sha256 316 (sha256
317 (base32 317 (base32
318 "0dnxx96lbcb8ab8yrdkqll14cl5n0bch8qpd9qj3c2ky78hhwbly")))) 318 "0dnxx96lbcb8ab8yrdkqll14cl5n0bch8qpd9qj3c2ky78hhwbly"))))
319 (build-system gnu-build-system) 319 (build-system gnu-build-system)
320 (arguments `(;; There's no `check' target. 320 (arguments
321 #:tests? #f 321 (list
322 #:phases 322 #:tests? #f ;no `check' target
323 (modify-phases %standard-phases 323 #:phases
324 (add-after 'unpack 'patch-help2man-with-perl-gettext 324 #~(modify-phases %standard-phases
325 (lambda* (#:key inputs #:allow-other-keys) 325 (add-after 'unpack 'patch-help2man-with-perl-gettext
326 (let ((lib (assoc-ref inputs "perl-gettext")) 326 (lambda* (#:key inputs #:allow-other-keys)
327 (fmt "use lib '~a/lib/perl5/site_perl';~%~a")) 327 (let ((lib #$(this-package-input "perl-gettext"))
328 (substitute* "help2man.PL" 328 (fmt "use lib '~a/lib/perl5/site_perl';~%~a"))
329 (("^use Locale::gettext.*$" load) 329 (substitute* "help2man.PL"
330 (format #f fmt lib load)))) 330 (("^use Locale::gettext.*$" load)
331 #t))))) 331 (format #f fmt lib load)))))))))
332 (inputs 332 (inputs
333 `(("perl" ,perl) 333 (append
334 ,@(if (%current-target-system) 334 (list perl)
335 '() 335 (if (%current-target-system)
336 `(("perl-gettext" ,perl-gettext))))) 336 '()
337 (list perl-gettext))))
337 (native-inputs 338 (native-inputs
338 `(("perl" ,perl) 339 (list perl gettext-minimal))
339 ("gettext" ,gettext-minimal)))
340 (home-page "https://www.gnu.org/software/help2man/") 340 (home-page "https://www.gnu.org/software/help2man/")
341 (synopsis "Automatically generate man pages from program --help") 341 (synopsis "Automatically generate man pages from program --help")
342 (description 342 (description