summaryrefslogtreecommitdiff
path: root/dev-util/neocmakelsp/neocmakelsp-0.11.0.ebuild
blob: a2acdcd62cf0956e2addf3241df7d97d7a3287ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

RUST_MIN_VER="1.89.0"

inherit cargo shell-completion

DESCRIPTION="Another CMake LSP"
HOMEPAGE="https://github.com/neocmakelsp/neocmakelsp"
SRC_URI="
	https://github.com/neocmakelsp/neocmakelsp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
"

LICENSE="Apache-2.0 CC0-1.0 MIT MIT-0 MPL-2.0 Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"

src_install() {
	cargo_src_install

	dobashcomp completions/bash/neocmakelsp
	dofishcomp completions/fish/neocmakelsp.fish
	dozshcomp completions/zsh/_neocmakelsp
}

src_test() {
	local CARGO_SKIP_TESTS=(
		document_link::tests::test_document_link_search
		languageserver::test::test_init
	)
	cargo_src_test
}