packages feed

cassava-streams-0.2.0.0: cassava-streams.cabal

--------------------------------------------------------------------------------
name:          cassava-streams
version:       0.2.0.0
synopsis:      io-streams interface for the cassava CSV library.
license:       BSD3
license-file:  LICENSE
author:        Peter Jones <pjones@devalot.com>
maintainer:    Peter Jones <pjones@devalot.com>
copyright:     Copyright (c) 2014-2016 Peter Jones
category:      Data, Text, CSV, IO-Streams
build-type:    Simple
cabal-version: >=1.18
tested-with:   GHC==7.10.3
homepage:      https://github.com/pjones/cassava-streams
bug-reports:   https://github.com/pjones/cassava-streams/issues
description:
  The cassava-streams library glues togeter the cassava CSV library
  and the io-streams streaming library.
  .
  See the "System.IO.Streams.Csv.Tutorial" module for a simple tutorial.

--------------------------------------------------------------------------------
extra-source-files:
  README.md
  CHANGES.md
  test/*.csv
  build/*.yaml
  build/*.nix

--------------------------------------------------------------------------------
source-repository head
  type:     git
  location: https://github.com/pjones/cassava-streams.git

--------------------------------------------------------------------------------
flag maintainer
  description: Enable settings for the package maintainer.
  manual: True
  default: False

--------------------------------------------------------------------------------
flag tutorial
  description: Build the tutorial binary (useful for profiling).
  manual: True
  default: False

--------------------------------------------------------------------------------
library
  exposed-modules:
    System.IO.Streams.Csv
    System.IO.Streams.Csv.Tutorial
  other-modules:
    System.IO.Streams.Csv.Encode
    System.IO.Streams.Csv.Decode

  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall -fwarn-incomplete-uni-patterns

  if flag(maintainer)
    ghc-options: -Werror
    ghc-prof-options: -prof -auto-all

  build-depends: base       >= 4.6   && < 5.0
               , bytestring >= 0.10  && < 0.11
               , cassava    >= 0.4   && < 0.5
               , io-streams >= 1.1   && < 1.4
               , vector     >= 0.10  && < 0.12

--------------------------------------------------------------------------------
executable tutorial
  default-language: Haskell2010
  hs-source-dirs: bin
  main-is: tutorial.hs
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -rtsopts

  if flag(maintainer)
    ghc-options: -Werror
    ghc-prof-options: -fprof-auto-top -fprof-cafs

  if !flag(tutorial)
    buildable: False
  else
    build-depends: base
                 , cassava-streams
                 , io-streams

--------------------------------------------------------------------------------
test-suite test
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: test
  main-is: test.hs
  ghc-options: -Wall -fwarn-incomplete-uni-patterns

  if flag(maintainer)
    ghc-options: -Werror

  build-depends: base
               , QuickCheck >= 2.7 && < 3.0
               , bytestring
               , cassava
               , cassava-streams
               , io-streams
               , tasty >= 0.8 && < 1.0
               , tasty-quickcheck >= 0.8 && < 1.0
               , vector