summaryrefslogtreecommitdiffstats
path: root/coalpit.cabal
blob: 0528c1c41948eacfdc3b9c4ddf7e6f17f9ff551b (plain)
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
name:                coalpit
version:             0.1.1.0
synopsis:            Command-line options and DSV parsing and printing
description:         This library generates parsers and printers for
                     given data types, in the form of command-line
                     arguments or DSVs – so that they can be used to
                     quickly get program interfaces via a shared
                     library, while being suitable for scripting and
                     as user interfaces.
license:             BSD3
license-file:        LICENSE
author:              defanor
maintainer:          defanor@uberspace.net
category:            Console
build-type:          Simple
extra-source-files:  ChangeLog.md
                   , README.md
                   , examples/Basic.hs
                   , examples/Pipes.hs
cabal-version:       >=1.10
tested-with:         GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.1, GHC == 8.2.2
bug-reports:         https://github.com/defanor/coalpit/issues
source-repository head
  type:     git
  location: https://git.uberspace.net/coalpit

library
  exposed-modules:     Coalpit
                     , Coalpit.Core
                     , Coalpit.DSV
                     , Coalpit.Parsing
  build-depends:       base >= 4.9 && < 5
                     , megaparsec >= 6.2 && < 7
                     , scientific >= 0.3 && < 1
                     , time >= 1.6 && < 2
                     , network-uri >= 2.6 && < 3
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite test-coalpit
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Test.hs
  build-depends:       base >= 4.9 && < 5
                     , coalpit
                     , generic-random >= 1 && < 2
                     , tasty >= 0.12 && < 1
                     , tasty-quickcheck >= 0.9 && < 1
                     , tasty-travis >= 0.2 && < 1
  ghc-options:         -Wall -Wno-unused-top-binds