@@ -29,6 +29,10 @@ extra-source-files: c/helper.h,
29 test/largest-string.yaml
29 test/largest-string.yaml
30 test/json.yaml
30 test/json.yaml
33+ description: don't install the yaml2json executable
32flag system-libyaml
36flag system-libyaml
33 description: Use the system-wide libyaml instead of the bundled copy
37 description: Use the system-wide libyaml instead of the bundled copy
34 default: False
38 default: False
@@ -63,6 +67,20 @@ library
63 libyaml/writer.c
67 libyaml/writer.c
64 include-dirs: libyaml
68 include-dirs: libyaml
77+ main-is: yaml2json.hs
78+ build-depends: base >= 4 && < 5
80+ , bytestring >= 0.9.1.4
66test-suite test
84test-suite test
67 type: exitcode-stdio-1.0
85 type: exitcode-stdio-1.0
68 hs-source-dirs: test
86 hs-source-dirs: test