dev-util/fish-lsp - 1.1.3 (bennypowers)

Search

Install

Install this version:

emerge -a =dev-util/fish-lsp-1.1.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/fish-lsp-1.1.3

Or alternatively:

emerge --autounmask-write -a =dev-util/fish-lsp-1.1.3

Package Information

Description:
LSP implementation for fish shell
Homepage:
https://fish-lsp.dev https://github.com/ndonfris/fish-lsp
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.1.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="LSP implementation for fish shell"
HOMEPAGE="https://fish-lsp.dev https://github.com/ndonfris/fish-lsp"
SRC_URI="
	mirror://npm/${PN}/-/${P}.tgz
	https://github.com/bennypowers/gentoo-overlay/releases/download/${P}/${P}-deps.tar.xz
"
S="${WORKDIR}"

# NOTE: to generate the dependency tarball:
#       npm --cache ./npm-cache install $(portageq envvar DISTDIR)/${P}.tgz
#       tar -caf ${P}-deps.tar.xz npm-cache

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=net-libs/nodejs-20"
BDEPEND=">=net-libs/nodejs-20[npm]"

src_unpack() {
	cd "${T}" || die "Could not cd to temporary directory"
	unpack ${P}-deps.tar.xz
}

src_install() {
	npm \
		--offline \
		--verbose \
		--progress false \
		--foreground-scripts \
		--global \
		--prefix "${ED}"/usr \
		--cache "${T}"/npm-cache \
		install "${DISTDIR}"/${P}.tgz || die "npm install failed"

	cd "${ED}"/usr/$(get_libdir)/node_modules/${PN} || die "cd failed"
	einstalldocs
}

Dependencies

RDEPEND

>=net-libs/nodejs-20

BDEPEND

>=net-libs/nodejs-20[npm]

Manifest for 1.1.3

Type File Size Source URLs
DIST fish-lsp-1.1.3-deps.tar.xz 12017340 bytes https://github.com/bennypowers/gentoo-overlay/releases/download/fish-lsp-1.1.3/fish-lsp-1.1.3-deps.tar.xz
DIST fish-lsp-1.1.3.tgz 650600 bytes mirror://npm/fish-lsp/-/fish-lsp-1.1.3.tgz