File: trifecta-examples.cabal

package info (click to toggle)
haskell-trifecta 2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 256 kB
  • sloc: haskell: 2,149; makefile: 3
file content (62 lines) | stat: -rw-r--r-- 1,973 bytes parent folder | download
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
name:          trifecta-examples
category:      Text, Parsing, Diagnostics, Pretty Printer, Logging
version:       2
license:       BSD3
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     experimental
homepage:      http://github.com/ekmett/trifecta/
bug-reports:   http://github.com/ekmett/trifecta/issues
copyright:     Copyright (C) 2010-2017 Edward A. Kmett
synopsis:      A modern parser combinator library with convenient diagnostics
description:
  A modern parser combinator library with slicing and Clang-style colored diagnostics
cabal-version: >= 1.10
build-type:    Simple
tested-with:   GHC == 7.4.2
             , GHC == 7.6.3
             , GHC == 7.8.4
             , GHC == 7.10.3
             , GHC == 8.0.2
             , GHC == 8.2.2
             , GHC == 8.4.3
             , GHC == 8.6.1
extra-source-files: RFC2616.txt

source-repository head
  type:     git
  location: https://github.com/ekmett/trifecta.git


library
  ghc-options:         -Wall
  exposed-modules:     RFC2616
  hs-source-dirs:      rfc2616
  build-depends:       base             >= 4.3     && <5,
                       bytestring,
                       charset,
                       parsers,
                       trifecta
  default-language:    Haskell2010

executable trifecta-examples-rfc2616
  main-is:             Main.hs
  ghc-options:         -Wall -threaded
  hs-source-dirs:      .
  default-language:    Haskell2010
  build-depends:       base,
                       trifecta-examples

test-suite trifecta-examples-tests
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  ghc-options:         -Wall -threaded
  hs-source-dirs:      .
  default-language:    Haskell2010
  build-depends:       base,
                       hspec,
                       parsers,
                       transformers,
                       trifecta,
                       trifecta-examples