cabal-version: 2.4 name: typst version: 0.3.1.0 x-revision: 1 synopsis: Parsing and evaluating typst syntax. description: A library for parsing and evaluating typst syntax. Typst () is a document layout and formatting language. This library targets typst 0.6 and currently offers only partial support. license: BSD-3-Clause license-file: LICENSE author: John MacFarlane maintainer: jgm@berkeley.edu copyright: Copyright 2023 John MacFarlane category: Text build-type: Simple extra-doc-files: CHANGELOG.md extra-source-files: test/typ/**/*.typ test/out/**/*.out test/assets/files/*.png test/assets/files/*.jpg test/assets/files/*.bib test/assets/files/*.csv test/assets/files/*.json test/assets/files/*.svg test/assets/files/*.toml test/assets/files/*.xml test/assets/files/*.txt test/assets/files/*.yaml test/assets/files/*.html tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.7 || == 9.4.5 || == 9.6.2 source-repository head type: git location: https://github.com/jgm/typst-hs.git common warnings ghc-options: -Wall library import: warnings exposed-modules: Typst Typst.Syntax Typst.Parse Typst.Types Typst.Evaluate Typst.Methods Typst.Util other-modules: Typst.Bind Typst.Regex Typst.Show Typst.Module.Standard Typst.Module.Math Typst.Module.Calc -- other-extensions: build-depends: base >= 4.14 && <= 5, typst-symbols >= 0.1.2 && < 0.2, mtl, vector, parsec, filepath, containers, directory >= 1.2.3, ordered-containers, text, bytestring, cassava, aeson, scientific, xml-conduit, yaml, toml-parser ^>= 1.2.0.0 || ^>= 1.3.0.0, regex-tdfa, array, time, pretty, digits hs-source-dirs: src if os(darwin) cpp-options: -D__MACOS__ if os(windows) cpp-options: -D__WINDOWS__ default-language: Haskell2010 Flag executable description: Compile executable to be used in testing and development. default: False executable typst-hs import: warnings main-is: Main.hs hs-source-dirs: app default-language: Haskell2010 if flag(executable) Buildable: True Build-depends: base, typst, directory >= 1.2.3, parsec, mtl, vector, containers, text, bytestring, time, pretty-show, ordered-containers else Buildable: False test-suite typst-test import: warnings default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs build-depends: base, typst, directory >= 1.2.3, text, bytestring, filepath, time, pretty-show, tasty, tasty-golden