-
Notifications
You must be signed in to change notification settings - Fork 3
/
quickjs-hs.cabal
90 lines (84 loc) · 2.48 KB
/
quickjs-hs.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
cabal-version: 1.12
name: quickjs-hs
version: 0.1.2.4
homepage: https://github.com/goodlyrottenapple/quickjs-hs#readme
bug-reports: https://github.com/goodlyrottenapple/quickjs-hs/issues
author: Sam Balco
maintainer: [email protected]
copyright: 2020 Sam Balco
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
category: Javascript
synopsis: Wrapper for the QuickJS Javascript Engine
description:
This library is a wrapper for the [QuickJS](https://bellard.org/quickjs/) Javascript Engine.
.
To get started, see the ReadMe below.
extra-source-files:
quickjs/*.h
source-repository head
type: git
location: https://github.com/goodlyrottenapple/quickjs-hs
library
exposed-modules:
Quickjs, Quickjs.Types, Quickjs.Error
other-modules:
Paths_quickjs_hs
hs-source-dirs:
src
build-depends:
aeson >=2.0 && <2.2,
base >=4.11 && <5,
bytestring >=0.10 && <0.12,
containers >=0.5 && <0.7,
exceptions >=0.8 && <0.11,
inline-c >=0.5 && <0.10,
mtl >=2.2.2 && <2.4,
scientific >=0.3.5 && <0.4,
string-conv >=0.1.2 && <0.3,
text >=1.2.0 && <2.1,
time >=1.8 && <1.14,
transformers >=0.5 && <0.7,
unliftio-core >=0.1 && <0.3,
unordered-containers >=0.2.8 && <0.3,
vector >=0.12 && <0.14
default-language: Haskell2010
include-dirs: quickjs
c-sources:
quickjs/cutils.c
, quickjs/libbf.c
, quickjs/libunicode.c
, quickjs/libregexp.c
, quickjs/quickjs.c
, quickjs/quickjs-libc.c
includes:
quickjs/quickjs.h
, quickjs/quickjs-libc.h
cc-options:
-static -D_GNU_SOURCE
-DCONFIG_VERSION="2020-11-08"
-DCONFIG_BIGNUM
test-suite quickjs-hs-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules: Paths_quickjs_hs
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, quickjs-hs -any
, aeson
, exceptions
, HUnit >=1.6.0.0
, QuickCheck >=2.9
, tasty >=1.0
, tasty-hunit >=0.10
, tasty-quickcheck >=0.9
, text
, unordered-containers
, vector