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

return Pkg.new {
    name = "xmlformatter",
    desc = _.dedent [[
        xmlformatter is an Open Source Python package that provides formatting of XML documents. xmlformatter differs
        from others formatters by handling whitespaces by a distinct set of formatting rules - formatting element
        content by an object style and mixed content by a text style. You may find xmlformatter useful for corrections
        and presentations.
    ]],
    homepage = "https://github.com/pamoller/xmlformatter",
    languages = { Pkg.Lang.XML },
    categories = { Pkg.Cat.Formatter },
    install = pip3.packages { "xmlformatter", bin = { "xmlformat" } },
}