packages feed

dsv-1.0.0.3: dsv.cabal

cabal-version: 3.0

name: dsv
version: 1.0.0.3
category: Text, CSV, Pipes
synopsis: DSV (delimiter-separated values)

description:
    Utilities for working with DSV (delimiter-separated values) files.

data-files:
    test-data/tweets.csv
  , test-data/tweets-with-id-error.csv
  , test-data/tweets-with-duplicate-header.csv
  , test-data/doc-example-with-header.csv
  , test-data/doc-example-without-header.csv
  , test-data/doc-example-malformed-with-header.csv
  , test-data/doc-example-malformed-without-header.csv
  , test-data/doc-example-with-utf8-errors.csv
  , test-data/empty.csv

copyright: 2019-2021 Mission Valley Software LLC
license: MIT
license-file: license.txt

homepage:    https://github.com/typeclasses/dsv
bug-reports: https://github.com/typeclasses/dsv/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

common base
    default-language: Haskell2010
    ghc-options: -Wall

    build-depends:
        attoparsec ^>= 0.13 || ^>= 0.14
      , base ^>= 4.12 || ^>= 4.13 || ^>= 4.14 || ^>= 4.15 || ^>= 4.16
      , bytestring ^>= 0.10 || ^>= 0.11
      , cassava ^>= 0.5
      , containers ^>= 0.6
      , foldl ^>= 1.4.5
      , pipes ^>= 4.3.10
      , pipes-bytestring ^>= 2.1
      , pipes-safe ^>= 2.3
      , template-haskell ^>= 2.14 || ^>= 2.15 || ^>= 2.16 || ^>= 2.17 || ^>= 2.18
      , text ^>= 1.2
      , validation ^>= 1.1
      , vector ^>= 0.12

library
    import: base
    hs-source-dirs: library

    exposed-modules:
        DSV

    autogen-modules:
        Paths_dsv

    other-modules:
        Paths_dsv
      , DSV.AttoParser
      , DSV.AttoPipe
      , DSV.AttoView
      , DSV.ByteString
      , DSV.CommonDelimiters
      , DSV.DelimiterSplice
      , DSV.DelimiterType
      , DSV.FileFold
      , DSV.FileFoldCsv
      , DSV.FileStrictCsvMap
      , DSV.FileStrictCsvRead
      , DSV.FileStrictCsvZipView
      , DSV.FileStrictMap
      , DSV.FileStrictRead
      , DSV.FileStrictZipView
      , DSV.Fold
      , DSV.Header
      , DSV.IndexError
      , DSV.IO
      , DSV.LookupError
      , DSV.LookupErrorUtf8
      , DSV.LookupUtf8
      , DSV.Numbers
      , DSV.NumberViews
      , DSV.ParseError
      , DSV.ParseStop
      , DSV.Parsing
      , DSV.Pipes
      , DSV.Position
      , DSV.Prelude
      , DSV.RequireCompleteParse
      , DSV.Text
      , DSV.TextReaderView
      , DSV.UTF8
      , DSV.Validation
      , DSV.Vector
      , DSV.VectorViews
      , DSV.ViewType
      , DSV.ZipViewError
      , DSV.ZipViewFold
      , DSV.ZipViewType
      , DSV.ZipViews
      , DSV.ZipViewPipe
      , DSV.ZipViewStop

test-suite test-dsv
    import: base
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    hs-source-dirs: test
    main-is: test-with-hedgehog.hs

    ghc-options:
        -fno-warn-missing-signatures
        -threaded

    other-modules:
        Paths_dsv
      , DSV.TestPrelude
      , DSV.TestData.Tweets
      , DSV.Tests.FileFoldCsv
      , DSV.Tests.FileStrictCsvRead
      , DSV.Tests.FileStrictCsvZipView
      , DSV.Tests.Header
      , DSV.Tests.NumberViews

    build-depends:
        dsv
      , hedgehog ^>= 1.0 || ^>= 1.1
      , safe-exceptions ^>= 0.1