package = "lua-chem"
version = "0.1.0-1"

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

description = {
  summary = "Molecular structures, trajectories and cheminformatics for LuaJIT",
  detailed = [[
    Pure-Lua chemistry for the numeric-lua stack: periodic table, PDB and XYZ
    readers, a topology plus frame model, an NGL-style selection language,
    geometry measurements, and Horn quaternion superposition.  No C extension,
    no external rocks, no second tensor engine.
  ]],
  homepage = "https://github.com/numeric-lua/lua-chem",
  license = "BSD-3-Clause",
}

dependencies = {
  "lua >= 5.1",
}

build = {
  type = "builtin",
  modules = {
    chem = "chem/init.lua",
    ["chem.element"] = "chem/element.lua",
    ["chem.structure"] = "chem/structure.lua",
    ["chem.selection"] = "chem/selection.lua",
    ["chem.measure"] = "chem/measure.lua",
    ["chem.io.pdb"] = "chem/io/pdb.lua",
    ["chem.io.xyz"] = "chem/io/xyz.lua",
    ["chem.io.mmcif"] = "chem/io/mmcif.lua",
    ["chem.io.mol2"] = "chem/io/mol2.lua",
    ["chem.io.sdf"] = "chem/io/sdf.lua",
    ["chem.io.gro"] = "chem/io/gro.lua",
    ["chem.io.dcd"] = "chem/io/dcd.lua",
    ["chem.io.prmtop"] = "chem/io/prmtop.lua",
    ["chem.io.inpcrd"] = "chem/io/inpcrd.lua",
    ["chem.io.psf"] = "chem/io/psf.lua",
    ["chem.io.top"] = "chem/io/top.lua",
    ["chem.io.binary"] = "chem/io/binary.lua",
    ["chem.io.netcdf"] = "chem/io/netcdf.lua",
    ["chem.io.xtc"] = "chem/io/xtc.lua",
    ["chem.io.trr"] = "chem/io/trr.lua",
    ["chem.analysis"] = "chem/analysis.lua",
    ["chem.molecule"] = "chem/molecule.lua",
    ["chem.smiles"] = "chem/smiles.lua",
    ["chem.fingerprint"] = "chem/fingerprint.lua",
    ["chem.descriptors"] = "chem/descriptors.lua",
    ["chem.smarts"] = "chem/smarts.lua",
    ["chem.substructure"] = "chem/substructure.lua",
    ["chem.layout"] = "chem/layout.lua",
    ["chem.depict"] = "chem/depict.lua",
    ["chem.scene"] = "chem/scene.lua",
  },
}
