* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS. * gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise. * gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]: Likewise. * gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise. * gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise. * gnu/packages/astronomy.scm (casacore, sextractor, libnova) (xplanet)[home-page]: Likewise. * gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao) (freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms) (libmodplug, libxmp, xmp, sox, drc, gsm, gnaural) (streamripper)[home-page]: Likewise. * gnu/packages/authentication.scm (pamtester)[home-page]: Likewise. * gnu/packages/backup.scm (grsync)[home-page]: Likewise. * gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma) (r-plgem)[home-page]: Likewise. * gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1) (bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard) (java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools) (snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip) (libsbml)[home-page]: Likewise. * gnu/packages/build-tools.scm (tup)[home-page]: Likewise. * gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools) (cd-discid)[home-page]: Likewise. * gnu/packages/check.scm (cunit, python-nose) (python-pyhamcrest)[home-page]: Likewise. * gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise. * gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise. * gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise. * gnu/packages/compression.scm (p7zip)[home-page]: Likewise. * gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial) (r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook) (r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags) (r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm) (r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet) (r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde) (r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels) (r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom) (r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat) (r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]: Likewise. * gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13) (rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20) (rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20) (rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20) (rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise. * gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise. * gnu/packages/curl.scm (curlpp)[home-page]: Likewise. * gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger) (libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers) (soci)[home-page]: Likewise. * gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise. * gnu/packages/debug.scm (remake)[home-page]: Likewise. * gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise. * gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise. * gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise. * gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise. * gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise. * gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise. * gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise. * gnu/packages/electronics.scm (xoscope)[home-page]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu) (emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel) (emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc) (emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap) (emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+) (emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise. * gnu/packages/embedded.scm (sdcc)[home-page]: Likewise. * gnu/packages/engineering.scm (asco, libngspice, libspnav) (openctm)[home-page]: Likewise. * gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise. * gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]: Likewise. * gnu/packages/finance.scm (gbonds)[home-page]: Likewise. * gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]: Likewise. * gnu/packages/fltk.scm (ntk)[home-page]: Likewise. * gnu/packages/fonts.scm (font-terminus, font-tex-gyre) (font-comic-neue)[home-page]: Likewise. * gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]: Likewise. * gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave) (python-myhdl)[home-page]: Likewise. * gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise. * gnu/packages/ftp.scm (weex)[home-page]: Likewise. * gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc) (eureka, plib)[home-page]: Likewise. * gnu/packages/games.scm (abe, alex4, armagetronad, barony) (foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally) (cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki) (quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks) (flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise. * gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise. * gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise. * gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish) (workrave)[home-page]: Likewise. * gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise. * gnu/packages/graph.scm (mscgen)[home-page]: Likewise. * gnu/packages/graphics.scm (assimp, alembic, ctl, agg) (opencsg)[home-page]: Likewise. * gnu/packages/graphviz.scm (gts)[home-page]: Likewise. * gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise. * gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise. * gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise. * gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise. * gnu/packages/haskell-web.scm (ghc-http-client-restricted) (ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg) (ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats) (ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints) (ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon) (ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards) (ghc-template-haskell, ghc-boot-th, ghc-binary-orphans) (ghc-postgresql-simple)[home-page]: Likewise. * gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise. * gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise. * gnu/packages/image-processing.scm (mia)[home-page]: Likewise. * gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr) (qiv)[home-page]: Likewise. * gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib) (sng, mtpaint)[home-page]: Likewise. * gnu/packages/java-xml.scm (java-simple-xml, java-jaxp) (java-apache-xml-commons-resolver)[home-page]: Likewise. * gnu/packages/java.scm (java-cisd-base, java-cisd-args4j) (java-hamcrest-core, java-jsr305, java-eclipse-osgi) (java-eclipse-equinox-common, java-eclipse-core-jobs) (java-eclipse-equinox-registry, java-eclipse-equinox-app) (java-eclipse-equinox-preferences, java-eclipse-core-contenttype) (java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq) (java-cdi-api)[home-page]: Likewise. * gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise. * gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]: Likewise. * gnu/packages/kde-internet.scm (kget)[home-page]: Likewise. * gnu/packages/kde-systemtools.scm (dolphin-plugins) (konsole)[home-page]: Likewise. * gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise. * gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise. * gnu/packages/lego.scm (nqc)[home-page]: Likewise. * gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise. * gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise. * gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise. * gnu/packages/libffi.scm (libffi)[home-page]: Likewise. * gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]: Likewise. * gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise. * gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools) (kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise. * gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser) (sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore) (sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell) (sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise. * gnu/packages/lisp.scm (lush2)[home-page]: Likewise. * gnu/packages/logging.scm (log4cpp)[home-page]: Likewise. * gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise. * gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]: Likewise. * gnu/packages/mail.scm (muchsync, procmail, sendmail) (opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise. * gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise. * gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh) (metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3) (frama-c)[home-page]: Likewise. * gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]: Likewise. * gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise. * gnu/packages/monitoring.scm (python-whisper, python-carbon) (hostscope)[home-page]: Likewise. * gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321) (lame)[home-page]: Likewise. * gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise. * gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol) (portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot) (schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2) (shiru-lv2)[home-page]: Likewise. * gnu/packages/ncurses.scm (stfl)[home-page]: Likewise. * gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird) (tunctl, traceroute)[home-page]: Likewise. * gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise. * gnu/packages/ntp.scm (openntpd)[home-page]: Likewise. * gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib) (ocaml-graph, cubicle)[home-page]: Likewise. * gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise. * gnu/packages/package-management.scm (xstow, modules)[home-page]: Likewise. * gnu/packages/parallel.scm (xjobs)[home-page]: Likewise. * gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]: Likewise. * gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]: Likewise. * gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]: Likewise. * gnu/packages/plan9.scm (drawterm)[home-page]: Likewise. * gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]: Likewise. * gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise. * gnu/packages/profiling.scm (otf2)[home-page]: Likewise. * gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise. * gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise. * gnu/packages/python-web.scm (python-cssutils) (python-translationstring)[home-page]: Likewise. * gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml) (python-docutils, python-pexpect, python-importlib-resources) (python-simplegeneric, python-urwid, python-xlrd, python-xlwt) (python-pyasn1, python-pythondialog, python-tftpy, python-random2) (python-arcp, python-pyopengl, python-sortedcollections) (python-sortedcontainers, python-yapsy, python-pydispatcher) (python-posix-ipc)[home-page]: Likewise. * gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise. * gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise. * gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise. * gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise. * gnu/packages/regex.scm (tre)[home-page]: Likewise. * gnu/packages/rsync.scm (librsync)[home-page]: Likewise. * gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox) (ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise. * gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise. * gnu/packages/screen.scm (dtach)[home-page]: Likewise. * gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise. * gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise. * gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise. * gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]: Likewise. * gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise. * gnu/packages/speech.scm (espeak)[home-page]: Likewise. * gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise. * gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice) (r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable) (python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm) (r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]: Likewise. * gnu/packages/swig.scm (swig)[home-page]: Likewise. * gnu/packages/task-management.scm (wtime)[home-page]: Likewise. * gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise. * gnu/packages/terminals.scm (libtermkey, mlterm, libvterm) (libvterm)[home-page]: Likewise. * gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs) (texlive-csplain, biber, texmaker)[home-page]: Likewise. * gnu/packages/text-editors.scm (joe)[home-page]: Likewise. * gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise. * gnu/packages/tv.scm (tvtime)[home-page]: Likewise. * gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise. * gnu/packages/upnp.scm (libupnp)[home-page]: Likewise. * gnu/packages/version-control.scm (cvs)[home-page]: Likewise. * gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib) (liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl) (dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise. * gnu/packages/virtualization.scm (bochs)[home-page]: Likewise. * gnu/packages/w3m.scm (w3m)[home-page]: Likewise. * gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi) (tidy-html, htmlcxx)[home-page]: Likewise. * gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise. * gnu/packages/wv.scm (wv)[home-page]: Likewise. * gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise. * gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise. * gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise. * gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c) (opensp)[home-page]: Likewise. * gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
		
			
				
	
	
		
			445 lines
		
	
	
	
		
			18 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			445 lines
		
	
	
	
		
			18 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
| ;;; GNU Guix --- Functional package management for GNU
 | ||
| ;;; Copyright © 2012, 2014, 2015, 2017, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
 | ||
| ;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
 | ||
| ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
 | ||
| ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
 | ||
| ;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
 | ||
| ;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
 | ||
| ;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
 | ||
| ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
 | ||
| ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 | ||
| ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 | ||
| ;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 | ||
| ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 | ||
| ;;; Copyright © 2022 Imran Iqbal <imran@imraniqbal.org>
 | ||
| ;;;
 | ||
| ;;; This file is part of GNU Guix.
 | ||
| ;;;
 | ||
| ;;; GNU Guix is free software; you can redistribute it and/or modify it
 | ||
| ;;; under the terms of the GNU General Public License as published by
 | ||
| ;;; the Free Software Foundation; either version 3 of the License, or (at
 | ||
| ;;; your option) any later version.
 | ||
| ;;;
 | ||
| ;;; GNU Guix is distributed in the hope that it will be useful, but
 | ||
| ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
 | ||
| ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | ||
| ;;; GNU General Public License for more details.
 | ||
| ;;;
 | ||
| ;;; You should have received a copy of the GNU General Public License
 | ||
| ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 | ||
| 
 | ||
| (define-module (gnu packages man)
 | ||
|   #:use-module (guix gexp)
 | ||
|   #:use-module ((guix licenses) #:prefix license:)
 | ||
|   #:use-module (guix git-download)
 | ||
|   #:use-module (guix download)
 | ||
|   #:use-module (guix packages)
 | ||
|   #:use-module (guix build-system gnu)
 | ||
|   #:use-module (guix build-system ruby)
 | ||
|   #:use-module (guix utils)
 | ||
|   #:use-module (gnu packages compression)
 | ||
|   #:use-module (gnu packages dbm)
 | ||
|   #:use-module (gnu packages flex)
 | ||
|   #:use-module (gnu packages gawk)
 | ||
|   #:use-module (gnu packages gettext)
 | ||
|   #:use-module (gnu packages groff)
 | ||
|   #:use-module (gnu packages less)
 | ||
|   #:use-module (gnu packages perl)
 | ||
|   #:use-module (gnu packages pkg-config)
 | ||
|   #:use-module (gnu packages linux)
 | ||
|   #:use-module (gnu packages xml))
 | ||
| 
 | ||
| (define-public xmltoman
 | ||
|   (package
 | ||
|     (name "xmltoman")
 | ||
|     (version "0.4")
 | ||
|     (source
 | ||
|      (origin
 | ||
|        (method url-fetch)
 | ||
|        (uri (string-append "mirror://sourceforge/xmltoman/xmltoman/"
 | ||
|                            "xmltoman-" version ".tar.gz/"
 | ||
|                            "xmltoman-" version ".tar.gz"))
 | ||
|        (sha256
 | ||
|         (base32 "1c0lvzr7kdy63wbn1jv6s126ds7add3pxqb0vlxd3v5a2sir91wl"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      `(#:tests? #f                      ; No tests
 | ||
|        #:make-flags
 | ||
|        (list
 | ||
|         (string-append "PREFIX="
 | ||
|                        (assoc-ref %outputs "out")))
 | ||
|        #:phases
 | ||
|        (modify-phases %standard-phases
 | ||
|          (delete 'configure))))
 | ||
|     (propagated-inputs
 | ||
|      (list perl perl-xml-parser))
 | ||
|     (synopsis "XML to Man converter")
 | ||
|     (description "XMLtoMan and XMLMantoHTML are two small scripts to convert xml
 | ||
| to man pages in groff format or html.  It features the usual man page items such
 | ||
| as description, options, see also, etc.")
 | ||
|     (home-page "http://xmltoman.sourceforge.net/")
 | ||
|     (license license:gpl2+)))
 | ||
| 
 | ||
| (define-public ronn
 | ||
|   (package
 | ||
|     (name "ronn")
 | ||
|     (version "0.7.3")
 | ||
|     (source
 | ||
|      (origin
 | ||
|        (method git-fetch)
 | ||
|        (uri
 | ||
|         (git-reference
 | ||
|          (url "https://github.com/rtomayko/ronn")
 | ||
|          (commit version)))
 | ||
|        (file-name
 | ||
|         (git-file-name name version))
 | ||
|        (sha256
 | ||
|         (base32 "0fkniz7j1jp8v3i05m6hks3nsh6rzvjfi0ichpi7h4gwk5byxb94"))))
 | ||
|     (build-system ruby-build-system)
 | ||
|     (arguments
 | ||
|      `(#:tests? #f))                   ; Library hpricot not available
 | ||
|     (synopsis "Manual authoring tool")
 | ||
|     (description "Ronn builds manuals.  It converts simple, human readable
 | ||
| textfiles to roff for terminal display, and also to HTML for the web.")
 | ||
|     (home-page "https://rtomayko.github.io/ronn/")
 | ||
|     (license license:expat)))
 | ||
| 
 | ||
| (define-public libpipeline
 | ||
|   (package
 | ||
|     (name "libpipeline")
 | ||
|     (version "1.5.3")
 | ||
|     (source (origin
 | ||
|               (method url-fetch)
 | ||
|               (uri (string-append
 | ||
|                     "mirror://savannah/libpipeline/libpipeline-"
 | ||
|                     version ".tar.gz"))
 | ||
|               (sha256
 | ||
|                (base32
 | ||
|                 "1c5dl017xil2ssb6a5vg927bnsbc9vymfgi9ahvqbb8gypx0igsx"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (home-page "https://libpipeline.nongnu.org/")
 | ||
|     (synopsis "C library for manipulating pipelines of subprocesses")
 | ||
|     (description
 | ||
|      "libpipeline is a C library for manipulating pipelines of subprocesses in
 | ||
| a flexible and convenient way.")
 | ||
|     (license license:gpl3+)))
 | ||
| 
 | ||
| (define-public man-db
 | ||
|   (package
 | ||
|     (name "man-db")
 | ||
|     (version "2.10.2")
 | ||
|     (source (origin
 | ||
|               (method url-fetch)
 | ||
|               (uri (string-append "mirror://savannah/man-db/man-db-"
 | ||
|                                   version ".tar.xz"))
 | ||
|               (sha256
 | ||
|                (base32
 | ||
|                 "0kaiymd5lh4dnp6z15fnvfg0ir81kdxp5l690ccp64ra956rb5zf"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      (list #:phases
 | ||
|            #~(modify-phases %standard-phases
 | ||
|                (add-after 'patch-source-shebangs 'patch-test-shebangs
 | ||
|                  (lambda* (#:key outputs #:allow-other-keys)
 | ||
|                    ;; Patch shebangs in test scripts.
 | ||
|                    (let ((out (assoc-ref outputs "out")))
 | ||
|                      (for-each (lambda (file)
 | ||
|                                  (substitute* file
 | ||
|                                    (("#! /bin/sh")
 | ||
|                                     (string-append "#!" (which "sh")))))
 | ||
|                                (find-files "src/tests")))))
 | ||
|                (add-after 'unpack 'patch-absolute-paths
 | ||
|                  (lambda* (#:key inputs #:allow-other-keys)
 | ||
|                    (substitute* "src/man.c"
 | ||
|                      (("\"iconv\"")
 | ||
|                       (string-append "\"" (which "iconv") "\"")))
 | ||
|                    ;; Embed an absolute reference to "preconv", otherwise it
 | ||
|                    ;; falls back to searching in PATH and ultimately fails
 | ||
|                    ;; to render unicode data (see <https://bugs.gnu.org/30785>).
 | ||
|                    (substitute* "lib/encodings.c"
 | ||
|                      (("groff_preconv = NULL")
 | ||
|                       (string-append "groff_preconv = \""
 | ||
|                                      (assoc-ref inputs "groff-minimal")
 | ||
|                                      "/bin/preconv\""))))))
 | ||
|            #:configure-flags
 | ||
|            #~(cons*
 | ||
|               ;; Disable setuid man user.
 | ||
|               "--disable-setuid"
 | ||
|               ;; Don't constrain ownership of system-wide cache files.
 | ||
|               ;; Otherwise creating the manpage database fails with
 | ||
|               ;; man-db > 2.7.5.
 | ||
|               "--disable-cache-owner"
 | ||
|               (string-append "--with-pager="
 | ||
|                              (search-input-file %build-inputs "bin/less"))
 | ||
|               (string-append "--with-gzip="
 | ||
|                              (search-input-file %build-inputs "bin/gzip"))
 | ||
|               (string-append "--with-bzip2="
 | ||
|                              (search-input-file %build-inputs "bin/bzip2"))
 | ||
|               (string-append "--with-xz="
 | ||
|                              (search-input-file %build-inputs "bin/xz"))
 | ||
|               (string-append "--with-zstd="
 | ||
|                              (search-input-file %build-inputs "bin/zstd"))
 | ||
|               (string-append "--with-col="
 | ||
|                              (search-input-file %build-inputs "bin/col"))
 | ||
|               ;; The default systemd directories ignore --prefix.
 | ||
|               (string-append "--with-systemdsystemunitdir="
 | ||
|                              #$output "/lib/systemd/system")
 | ||
|               (string-append "--with-systemdtmpfilesdir="
 | ||
|                              #$output "/lib/tmpfiles.d")
 | ||
|               (map (lambda (prog)
 | ||
|                      (string-append
 | ||
|                       "--with-" prog "="
 | ||
|                       #$(this-package-input "groff-minimal")
 | ||
|                       (string-append "/bin/" prog)))
 | ||
|                    '("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
 | ||
|            ;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
 | ||
|            ;; pulls in Perl.)
 | ||
|            #:disallowed-references (list groff)))
 | ||
|     (native-inputs
 | ||
|      (list pkg-config flex
 | ||
|            ;; Groff is needed at build time for troff, grops, soelim, etc.
 | ||
|            groff))
 | ||
|     (inputs
 | ||
|      (list gdbm
 | ||
|            groff-minimal
 | ||
|            less
 | ||
|            libpipeline
 | ||
|            libseccomp
 | ||
|            util-linux
 | ||
|            zstd))
 | ||
|     (native-search-paths
 | ||
|      (list (search-path-specification
 | ||
|             (variable "MANPATH")
 | ||
|             (files '("share/man")))))
 | ||
|     (home-page "https://man-db.nongnu.org/")
 | ||
|     (synopsis "Standard Unix documentation system")
 | ||
|     (description
 | ||
|      "Man-db is an implementation of the standard Unix documentation system
 | ||
| accessed using the man command.  It uses a Berkeley DB database in place of
 | ||
| the traditional flat-text whatis databases.")
 | ||
|     (license license:gpl2+)))
 | ||
| 
 | ||
| (define-public mandoc
 | ||
|   (package
 | ||
|     (name "mandoc")
 | ||
|     (version "1.14.6")
 | ||
|     (source (origin
 | ||
|               (method url-fetch)
 | ||
|               (uri (string-append "https://mandoc.bsd.lv/snapshots/mandoc-"
 | ||
|                                   version ".tar.gz"))
 | ||
|               (sha256
 | ||
|                (base32
 | ||
|                 "174x2x9ws47b14lm339j6rzm7mxy1j3qhh484khscw0yy1qdbw4b"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      `(#:test-target "regress"
 | ||
|        #:phases (modify-phases %standard-phases
 | ||
|                   (add-before 'configure 'set-prefix
 | ||
|                     (lambda* (#:key outputs #:allow-other-keys)
 | ||
|                       (substitute* "configure"
 | ||
|                         (("^CC=.*")
 | ||
|                          (string-append "CC=" ,(cc-for-target) "\n"))
 | ||
|                         (("^DEFCFLAGS=\\\\\"")
 | ||
|                          "DEFCFLAGS=\"-O2 ")
 | ||
|                         (("^UTF8_LOCALE=.*")      ;used for tests
 | ||
|                          "UTF8_LOCALE=en_US.UTF-8\n")
 | ||
|                         (("^MANPATH_(BASE|DEFAULT)=.*" _ which)
 | ||
|                          (string-append "MANPATH_" which "="
 | ||
|                                         "/run/current-system/profile/share/man\n"))
 | ||
|                         (("^PREFIX=.*")
 | ||
|                          (string-append "PREFIX=" (assoc-ref outputs "out")
 | ||
|                                         "\n"))))))))
 | ||
|     (native-inputs (list perl))             ;used to run tests
 | ||
|     (inputs (list zlib))
 | ||
|     (native-search-paths
 | ||
|      (list (search-path-specification
 | ||
|             (variable "MANPATH")
 | ||
|             (files '("share/man")))))
 | ||
|     (synopsis "Tools for BSD mdoc and man pages")
 | ||
|     (description
 | ||
|      "mandoc is a suite of tools compiling mdoc, the roff macro language of
 | ||
| choice for BSD manual pages, and man, the predominant historical language for
 | ||
| UNIX manuals.  It is small and quite fast.  The main component of the toolset
 | ||
| is the @command{mandoc} utility program, based on the libmandoc validating
 | ||
| compiler, to format output for UTF-8 and ASCII UNIX terminals, HTML 5,
 | ||
| PostScript, and PDF.  Additional tools include the @command{man} viewer, and
 | ||
| @command{apropos} and @command{whatis}.")
 | ||
|     (home-page "https://mandoc.bsd.lv/")
 | ||
|     (license license:isc)))
 | ||
| 
 | ||
| (define-public man-pages
 | ||
|   (package
 | ||
|     (name "man-pages")
 | ||
|     (version "6.02")
 | ||
|     (source
 | ||
|      (origin
 | ||
|        (method url-fetch)
 | ||
|        (uri
 | ||
|         (list (string-append "mirror://kernel.org/linux/docs/man-pages/"
 | ||
|                              "man-pages-" version ".tar.xz")
 | ||
|               (string-append "mirror://kernel.org/linux/docs/man-pages/Archive/"
 | ||
|                              "man-pages-" version ".tar.xz")))
 | ||
|        (sha256
 | ||
|         (base32 "159p60a0w5ri3i7bbfxzjfmj8sbpf030m38spny1ws585fv0kn36"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      (list
 | ||
|       #:phases
 | ||
|       #~(modify-phases %standard-phases
 | ||
|           (add-after 'unpack 'skip-html
 | ||
|             ;; As of 6.00, this package tries to convert man pages to HTML with
 | ||
|             ;; man2html.  The only Guix package currently providing that script
 | ||
|             ;; is man-for-txr, but that version seems unable to handle relative
 | ||
|             ;; ‘.so’ statements properly.  Disable HTML generation.
 | ||
|             (lambda _
 | ||
|               (substitute* "lib/build-html.mk"
 | ||
|                 (("(html:) .*" _ target) (string-append target "\n")))))
 | ||
|           (delete 'configure))
 | ||
| 
 | ||
|       ;; The 'all' target depends on three targets that directly populate
 | ||
|       ;; $(MANDIR) based on its current contents.  Doing that in parallel
 | ||
|       ;; leads to undefined behavior (see <http://bugs.gnu.org/18701>.)
 | ||
|       #:parallel-build? #f
 | ||
| 
 | ||
|       #:tests? #f
 | ||
|       #:make-flags
 | ||
|       #~(list (string-append "mandir=" #$output "/share/man"))))
 | ||
|     (home-page "https://www.kernel.org/doc/man-pages/")
 | ||
|     (synopsis "Development manual pages from the Linux project")
 | ||
|     (description
 | ||
|      "This package provides traditional Unix \"man pages\" documenting the
 | ||
| Linux kernel and C library interfaces employed by user-space programs.")
 | ||
| 
 | ||
|     ;; Each man page has its own license; some are GPLv2+, some are MIT/X11.
 | ||
|     (license license:gpl2+)))
 | ||
| 
 | ||
| (define-public man-pages-posix
 | ||
|   (package
 | ||
|     (name "man-pages-posix")
 | ||
|     ;; Make sure that updates are still legally distributable.  2017-a is not.
 | ||
|     (version "2013-a")
 | ||
|     (source
 | ||
|      (origin
 | ||
|        (method url-fetch)
 | ||
|        (uri (string-append "mirror://kernel.org/linux/docs/man-pages/"
 | ||
|                            "man-pages-posix/man-pages-posix-" version
 | ||
|                            ".tar.xz"))
 | ||
|        (sha256
 | ||
|         (base32 "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      `(#:tests? #f
 | ||
|        ;; The compress-documentation phase doesn't pick up on our manpages as
 | ||
|        ;; its regex doesn't support trailing letters, so manually compress.
 | ||
|        #:make-flags ,#~(list (string-append "prefix=" #$output) "gz")
 | ||
|        #:license-file-regexp "POSIX-COPYRIGHT"
 | ||
|        #:phases (modify-phases %standard-phases (delete 'configure))))
 | ||
|     (home-page "https://www.kernel.org/doc/man-pages/")
 | ||
|     (synopsis "Man pages from the POSIX.1-2013 standard")
 | ||
|     (description
 | ||
|      "This package provides excerpts from the POSIX.1-2008 and TC1 standards
 | ||
| (collectively, POSIX.1-2013) in manual page form.  While the Linux man-pages
 | ||
| project documents the system as it exists on Linux- and glibc-based systems,
 | ||
| this package documents the portable software API as nominally implemented by
 | ||
| many Unix-likes.")
 | ||
|     (license (license:fsdg-compatible "file://POSIX-COPYRIGHT"
 | ||
|                                       "Redistribution of this material is permitted so long as this
 | ||
| notice and the corresponding notices within each POSIX manual page are retained
 | ||
| on any distribution, and the nroff source is included."))))
 | ||
| 
 | ||
| (define-public help2man
 | ||
|   ;; TODO: Manual pages for languages not available from the implicit
 | ||
|   ;; input "locales" contain the original (English) text.
 | ||
|   (package
 | ||
|     (name "help2man")
 | ||
|     (version "1.48.5")
 | ||
|     (source
 | ||
|      (origin
 | ||
|       (method url-fetch)
 | ||
|       (uri (string-append "mirror://gnu/help2man/help2man-"
 | ||
|                           version ".tar.xz"))
 | ||
|       (sha256
 | ||
|        (base32
 | ||
|         "1gl24n9am3ivhql1gs9lffb415irg758fhxyk4ryssiflk5f8fb7"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments `(;; There's no `check' target.
 | ||
|                  #:tests? #f
 | ||
|                  #:phases
 | ||
|                  (modify-phases %standard-phases
 | ||
|                    (add-after 'unpack 'patch-help2man-with-perl-gettext
 | ||
|                      (lambda* (#:key inputs #:allow-other-keys)
 | ||
|                        (let ((lib (assoc-ref inputs "perl-gettext"))
 | ||
|                              (fmt "use lib '~a/lib/perl5/site_perl';~%~a"))
 | ||
|                          (substitute* "help2man.PL"
 | ||
|                            (("^use Locale::gettext.*$" load)
 | ||
|                             (format #f fmt lib load))))
 | ||
|                        #t)))))
 | ||
|     (inputs
 | ||
|      `(("perl" ,perl)
 | ||
|        ,@(if (%current-target-system)
 | ||
|              '()
 | ||
|              `(("perl-gettext" ,perl-gettext)))))
 | ||
|     (native-inputs
 | ||
|      `(("perl" ,perl)
 | ||
|        ("gettext" ,gettext-minimal)))
 | ||
|     (home-page "https://www.gnu.org/software/help2man/")
 | ||
|     (synopsis "Automatically generate man pages from program --help")
 | ||
|     (description
 | ||
|      "GNU help2man is a program that converts the output of standard
 | ||
| \"--help\" and \"--version\" command-line arguments into a manual page
 | ||
| automatically.")
 | ||
|     (license license:gpl3+)))
 | ||
| 
 | ||
| (define-public scdoc
 | ||
|   (package
 | ||
|    (name "scdoc")
 | ||
|    (version "1.11.2")
 | ||
|    (source
 | ||
|     (origin
 | ||
|      (method git-fetch)
 | ||
|      (uri (git-reference
 | ||
|            (url "https://git.sr.ht/~sircmpwn/scdoc")
 | ||
|            (commit version)))
 | ||
|      (file-name (git-file-name name version))
 | ||
|      (sha256
 | ||
|       (base32 "07c2vmdgqifbynm19zjnrk7h102pzrriv73izmx8pmd7b3xl5mfq"))))
 | ||
|    (build-system gnu-build-system)
 | ||
|    (arguments
 | ||
|     `(#:make-flags
 | ||
|       (list (string-append "CC=" ,(cc-for-target))
 | ||
|             (string-append "PREFIX=" (assoc-ref %outputs "out")))
 | ||
|       #:phases
 | ||
|       (modify-phases %standard-phases
 | ||
|         (delete 'configure))))
 | ||
|    (home-page "https://git.sr.ht/~sircmpwn/scdoc")
 | ||
|    (synopsis "Simple man page generator")
 | ||
|    (description "scdoc is a simple man page generator written for POSIX systems
 | ||
| in C99.")
 | ||
|    ;; MIT license, see /share/doc/scdoc-1.6.0/COPYING.
 | ||
|    (license license:expat)))
 | ||
| 
 | ||
| (define-public txt2man
 | ||
|   (package
 | ||
|     (name "txt2man")
 | ||
|     (version "1.6.0")
 | ||
|     (source
 | ||
|      (origin
 | ||
|        (method git-fetch)
 | ||
|        (uri (git-reference
 | ||
|               (url "https://github.com/mvertes/txt2man")
 | ||
|               (commit (string-append "txt2man-" version))))
 | ||
|        (file-name (git-file-name name version))
 | ||
|        (sha256
 | ||
|         (base32
 | ||
|          "1razjpvlcp85hqli77mwr9nmn5jnv3lm1fxbbqjpx1brv3h1lvm5"))))
 | ||
|     (build-system gnu-build-system)
 | ||
|     (arguments
 | ||
|      `(#:tests? #f ; no "check" target
 | ||
|        #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
 | ||
|        #:phases (modify-phases %standard-phases (delete 'configure))))
 | ||
|     (inputs
 | ||
|      (list gawk))
 | ||
|     (home-page "https://github.com/mvertes/txt2man")
 | ||
|     (synopsis "Convert text to man page")
 | ||
|     (description "Txt2man converts flat ASCII text to man page format.")
 | ||
|     (license license:gpl2+)))
 |