diff options
| author | firefly707 <firejet707@gmail.com> | 2025-08-17 13:49:34 -0400 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-27 15:02:09 +0000 |
| commit | 4d0fe6995b3acf0a807a125cd0d4488bd59cb01b (patch) | |
| tree | 238ea3cee06f20c8db28b97dbcf868efa2a3ead4 | |
| parent | f3afe1496a4deba3e6049dabfecd20066e7a0605 (diff) | |
gnu: Add qman.
* gnu/packages/man.scm (qman): New variable.
Merges: https://codeberg.org/guix/guix/pulls/1986
Change-Id: I461054b7d3a6c1b26e9b6c7cc7d7da6b1f6f4033
Reviewed-by: Ada Stevenson <adanskana@gmail.com>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/man.scm | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 416a36302e7..73961496cb7 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022, 2024 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2022 Imran Iqbal <imran@imraniqbal.org> ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> +;;; Copyright © 2025 firefly707 <firejet707@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,10 +37,13 @@ #:use-module (guix download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system ruby) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages dbm) @@ -49,7 +53,9 @@ #:use-module (gnu packages groff) #:use-module (gnu packages less) #:use-module (gnu packages linux) + #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages pkg-config) #:use-module (gnu packages web-browsers) #:use-module (gnu packages xml)) @@ -441,6 +447,64 @@ on any distribution, and the nroff source is included.")))) automatically.") (license license:gpl3+))) +(define-public qman + (package + (name "qman") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/plp13/qman") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q1g1fvipfk8vw432xiwm12rjb1hlyhmb6x6y99qc28wpinhnwng")))) + (build-system meson-build-system) + (arguments + (list + #:out-of-source? #t + #:configure-flags + #~(list "-Dconfigdir=etc/xdg/qman"))) + (native-inputs + (list cmake-minimal + pkg-config)) + (inputs + (list cunit + ncurses + python-cogapp + zlib)) + (home-page "https://github.com/plp13/qman") + (synopsis "Modern man page viewer for terminals") + (description + "@code{qman} is a modern, full-featured manual page viewer featuring +hyperlinks,web browser like navigation, a table of contents for each page, +incremental search, on-line help, and more. It also strives to be fast and +tiny, so that it can be used everywhere. + +Features: +@itemize +@item Index page that displays all manual pages available on the system, +sorted alphabetically and organised by section +@item Pages for apropos and whatis results +@item Hyperlinks to other manual pages +@item Hyperlinks for URLs and email addresses +@item Hyperlinks to files or directories in the local filesystem +@item In-page hyperlinks +@item A table of contents for each manual page +@item Incremental search for manual pages +@item Incremental free page text search +@item Command-line options similar to those of man (most importantly, -k and +-f) +@item Keyboard mappings similar to those of less +@item Mouse support +@item Navigation history +@item On-line help +@item Fully configurable using INI-style config files +@item Manual page +@end itemize") + (license license:bsd-2))) + (define-public scdoc (package (name "scdoc") |
