Install this version:
emerge -a =sys-apps/nvimpager-0.14.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-apps/nvimpager-0.14.0
Or alternatively:
emerge --autounmask-write -a =sys-apps/nvimpager-0.14.0
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..2} luajit )
inherit lua-single
DESCRIPTION="Use nvim as a pager to view manpages, diff, etc with nvim's syntax highlighting"
HOMEPAGE="https://github.com/lucc/nvimpager"
SRC_URI="https://github.com/lucc/nvimpager/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="test? ( ${LUA_REQUIRED_USE} )"
RESTRICT="!test? ( test )"
DEPEND="
>=app-editors/neovim-0.12.3[-nvimpager]
app-shells/bash
"
RDEPEND="${DEPEND}"
BDEPEND="
app-text/scdoc
test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
"
src_compile() { :; }
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}
src_test() {
# some tests are broken on neovim-0.10.0
# https://github.com/lucc/nvimpager/issues/99
emake test BUSTED='busted --exclude-tags=nix,v10'
}
Manage flags for this package:
euse -i <flag> -p sys-apps/nvimpager |
euse -E <flag> -p sys-apps/nvimpager |
euse -D <flag> -p sys-apps/nvimpager
>=app-editors/neovim-0.12.3[-nvimpager] app-shells/bash
>=app-editors/neovim-0.12.3[-nvimpager] app-shells/bash
app-text/scdoc test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | nvimpager-0.14.0.tar.gz | 32736 bytes | https://github.com/lucc/nvimpager/archive/v0.14.0.tar.gz |