package = "luaplotlib"
version = "0.2.0-1"

source = {
  url = "git+https://github.com/numeric-lua/luaplotlib.git",
  tag = "v0.2.0",
}

description = {
  summary = "Pure-Lua matplotlib-inspired SVG plotting",
  detailed = [[
    Line, scatter, histogram, bar, and error-bar figures with linear/log axes,
    legends, and renderer-agnostic scene export. No runtime dependencies.
  ]],
  homepage = "https://github.com/numeric-lua/luaplotlib",
  license = "BSD-3-Clause",
}

dependencies = {
  "lua >= 5.1",
}

build = {
  type = "builtin",
  modules = {
    luaplotlib = "luaplotlib.lua",
    ["luaplotlib.colors"] = "luaplotlib/colors.lua",
    ["luaplotlib.data"] = "luaplotlib/data.lua",
    ["luaplotlib.figure"] = "luaplotlib/figure.lua",
    ["luaplotlib.render"] = "luaplotlib/render.lua",
    ["luaplotlib.scene"] = "luaplotlib/scene.lua",
    ["luaplotlib.ticks"] = "luaplotlib/ticks.lua",
    ["luaplotlib.util"] = "luaplotlib/util.lua",
  },
}
