aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/cmakelang/init.lua
blob: 9ecaffbffc4367e75eef908b806041576371b8c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local Pkg = require "mason-core.package"
local pip3 = require "mason-core.managers.pip3"

return Pkg.new {
    name = "cmakelang",
    desc = [[Language tools for cmake (format, lint, etc)]],
    homepage = "https://pypi.org/project/cmakelang/",
    languages = { Pkg.Lang.CMake },
    categories = { Pkg.Cat.Formatter, Pkg.Cat.Linter },
    install = pip3.packages {
        "cmakelang",
        bin = {
            "cmake-annotate",
            "cmake-format",
            "cmake-lint",
            "ctest-to",
        },
    },
}