-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pandoc-lua-marshal.cabal
120 lines (113 loc) · 5.35 KB
/
pandoc-lua-marshal.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
cabal-version: 2.4
name: pandoc-lua-marshal
version: 0.2.9
synopsis: Use pandoc types in Lua
description: This package provides functions to marshal and unmarshal
pandoc document types to and from Lua.
.
The values of most types are pushed to pandoc as "userdata"
objects that wrap a stable pointer to the Haskell value;
these objects come with methods to access and modify their
properties.
.
Sequences are pushed as normal Lua tables, but are
augmented with convenience functions.
homepage: https://github.com/pandoc/pandoc-lua-marshal
bug-reports: https://github.com/pandoc/pandoc-lua-marshal/issues
license: MIT
license-file: LICENSE
author: Albert Krewinkel, John MacFarlane
maintainer: Albert Krewinkel <[email protected]>
copyright: © 2017-2024 Albert Krewinkel, John MacFarlane
category: Foreign
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
tested-with: GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.5
, GHC == 9.4.4
extra-source-files: test/test-attr.lua
, test/test-block.lua
, test/test-cell.lua
, test/test-citation.lua
, test/test-inline.lua
, test/test-listattributes.lua
, test/test-metavalue.lua
, test/test-pandoc.lua
, test/test-simpletable.lua
source-repository head
type: git
location: https://github.com/pandoc/pandoc-lua-marshal.git
common common-options
build-depends: base >= 4.12 && < 5
, aeson >= 1.5 && < 2.3
, bytestring >= 0.10 && < 0.13
, containers >= 0.6 && < 0.8
, exceptions >= 0.8 && < 0.11
, hslua >= 2.2 && < 2.4
, hslua-list >= 1.1.4 && < 1.2
, hslua-marshalling >= 2.2 && < 2.4
, pandoc-types >= 1.23 && < 1.24
, safe >= 0.3 && < 0.4
, text >= 1.1.1.0 && < 1.3
|| >= 2.0 && < 2.2
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wmissing-export-lists
-Wpartial-fields
-Wredundant-constraints
-fhide-source-paths
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: Text.Pandoc.Lua.Marshal.AST
, Text.Pandoc.Lua.Marshal.Alignment
, Text.Pandoc.Lua.Marshal.Attr
, Text.Pandoc.Lua.Marshal.Block
, Text.Pandoc.Lua.Marshal.Caption
, Text.Pandoc.Lua.Marshal.Cell
, Text.Pandoc.Lua.Marshal.Citation
, Text.Pandoc.Lua.Marshal.CitationMode
, Text.Pandoc.Lua.Marshal.Content
, Text.Pandoc.Lua.Marshal.Filter
, Text.Pandoc.Lua.Marshal.Format
, Text.Pandoc.Lua.Marshal.Inline
, Text.Pandoc.Lua.Marshal.List
, Text.Pandoc.Lua.Marshal.ListAttributes
, Text.Pandoc.Lua.Marshal.MathType
, Text.Pandoc.Lua.Marshal.MetaValue
, Text.Pandoc.Lua.Marshal.Pandoc
, Text.Pandoc.Lua.Marshal.QuoteType
, Text.Pandoc.Lua.Marshal.Row
, Text.Pandoc.Lua.Marshal.SimpleTable
, Text.Pandoc.Lua.Marshal.TableFoot
, Text.Pandoc.Lua.Marshal.TableHead
, Text.Pandoc.Lua.Marshal.TableParts
other-modules: Text.Pandoc.Lua.Marshal.Shared
, Text.Pandoc.Lua.Topdown
, Text.Pandoc.Lua.SpliceList
, Text.Pandoc.Lua.Walk
build-depends: hslua-list >= 1.1 && < 1.2
test-suite pandoc-lua-marshal-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test-pandoc-lua-marshal.hs
build-depends: pandoc-lua-marshal
, QuickCheck >= 2.4 && < 2.16
, tasty >= 0.11
, tasty-hunit >= 0.9
, tasty-lua >= 1.0
, tasty-quickcheck >= 0.8 && < 0.12
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N