13 stdenv.mkDerivation (finalAttrs: {
18 url = "mirror://sourceforge/tkman/tkman-${finalAttrs.version}.tar.gz";
19 hash = "sha256-S4ffz+7zmVy9+isz/8q+FV4wF5Rw2iL1ftY8RsJjRLs=";
27 patches = [(fetchpatch {
28 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-text/tkman/files/tkman-CVE-2008-5137.diff";
29 hash = "sha256-l97SY2/YnMgzHYKnVYCVJKV7oGLN1hXNpeHFlLVzTMA=";
35 "rman=${rman}/bin/rman"
36 # TODO package glimpse https://github.com/gvelez17/glimpse
42 'manformat="${groff}/bin/groff -te -Tlatin1 -mandoc $$manx(longtmp) -"'
51 wrapProgram $out/bin/tkman \
52 --run 'export MANPATH="$(manpath)"'
53 rm $out/bin/retkman # doesn't work
54 install -Dm644 contrib/TkMan.gif $out/share/icons/hicolor/64x64/apps/tkman.gif
57 desktopItems = [(makeDesktopItem {
59 desktopName = "TkMan";
60 comment = "Graphical man page and info viewer";
65 categories = [ "Utility" ];
69 description = "Graphical, hypertext manual page and Texinfo browser for UNIX";
70 mainProgram = "tkman";
72 TkMan is a graphical, hypertext manual page and Texinfo browser for UNIX.
73 TkMan boasts hypertext links, unmatched online text formatting and display
74 quality, (optional) outline view of man pages, high quality display and
75 superior navigational interface to Texinfo documents, a novel information
76 visualization mechanism called Notemarks, full text search among man pages
77 and Texinfo, incremental and regular expression search within pages,
78 regular expression search within Texinfo that shows all matches (not just
79 the next), robustly attached yellow highlight annotations, a shortcut/hot
80 list, lists of all pages in user configurable volumes, a comprehensive
81 Preferences panel, and man page versioning support, among many other features.
83 homepage = "https://tkman.sourceforge.net/index.html";
84 license = licenses.artistic1;
85 platforms = platforms.unix;
86 maintainers = with maintainers; [ fgaz ];