--
-- Cabal configuration for ‘cassava-megaparsec’ package.
--
-- Copyright © 2016 Stack Builders
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the
-- "Software"), to deal in the Software without restriction, including
-- without limitation the rights to use, copy, modify, merge, publish,
-- distribute, sublicense, and/or sell copies of the Software, and to permit
-- persons to whom the Software is furnished to do so, subject to the
-- following conditions:
--
-- The above copyright notice and this permission notice shall be included
-- in all copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
-- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
-- USE OR OTHER DEALINGS IN THE SOFTWARE.
name: cassava-megaparsec
version: 0.1.0
cabal-version: >= 1.10
license: MIT
license-file: LICENSE.md
author: Mark Karpov <markkarpov@openmailbox.org>
maintainer: Mark Karpov <markkarpov@openmailbox.org>
homepage: https://github.com/mrkkrp/cassava-megaparsec
bug-reports: https://github.com/mrkkrp/cassava-megaparsec/issues
category: Text, Web, CSV, Parsing
synopsis: Megaparsec parser of CSV files that plays nicely with Cassava
build-type: Simple
description: Megaparsec parser of CSV files that plays nicely with Cassava.
extra-source-files: CHANGELOG.md
, README.md
source-repository head
type: git
location: https://github.com/stack-builders/cassava-megaparsec.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
build-depends: base >= 4.7 && < 5.0
, bytestring >= 0.9 && < 0.11
, cassava >= 0.4.2 && < 0.5
, containers >= 0.5 && < 0.6
, megaparsec >= 5.0 && < 6.0
, unordered-containers >= 0.2.7 && < 0.3
, vector >= 0.11 && < 0.12
exposed-modules: Data.Csv.Parser.Megaparsec
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
test-suite tests
main-is: Spec.hs
hs-source-dirs: tests
type: exitcode-stdio-1.0
build-depends: base >= 4.7 && < 5.0
, bytestring >= 0.9 && < 0.11
, cassava >= 0.4.2 && < 0.5
, cassava-megaparsec >= 0.1
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 0.2 && < 0.3
, vector >= 0.11 && < 0.12
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010