forked from pjones/cassava-streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cassava-streams.cabal
91 lines (80 loc) · 2.84 KB
/
cassava-streams.cabal
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
cabal-version: 2.2
name: cassava-streams
version: 0.3.0.5
synopsis: io-streams interface for the cassava CSV library.
license: BSD-3-Clause
license-file: LICENSE
author: Peter Jones <[email protected]>
maintainer: Peter Jones <[email protected]>
copyright: Copyright (c) 2014-2020 Peter Jones
category: Data, Text, CSV, IO-Streams
build-type: Simple
homepage: https://github.com/pjones/cassava-streams
bug-reports: https://github.com/pjones/cassava-streams/issues
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
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
--------------------------------------------------------------------------------
source-repository head
type: git
location: https://github.com/pjones/cassava-streams.git
--------------------------------------------------------------------------------
flag tutorial
description: Build the tutorial binary (useful for profiling).
manual: True
default: False
--------------------------------------------------------------------------------
common dependencies
build-depends:
, base >=4.8 && <5.0
, bytestring >=0.10 && <0.12
, cassava >=0.4 && <0.6
, io-streams >=1.1 && <1.6
, vector >=0.10 && <0.14
--------------------------------------------------------------------------------
library
import: dependencies
exposed-modules:
System.IO.Streams.Csv
System.IO.Streams.Csv.Tutorial
other-modules:
System.IO.Streams.Csv.Decode
System.IO.Streams.Csv.Encode
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -fwarn-incomplete-uni-patterns
build-depends:
--------------------------------------------------------------------------------
executable tutorial
default-language: Haskell2010
hs-source-dirs: bin
main-is: tutorial.hs
ghc-options: -Wall -fwarn-incomplete-uni-patterns -rtsopts
if !flag(tutorial)
buildable: False
else
build-depends:
, base
, cassava-streams
, io-streams
--------------------------------------------------------------------------------
test-suite test
import: dependencies
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: test.hs
ghc-options: -Wall -fwarn-incomplete-uni-patterns
build-depends:
, cassava-streams
, QuickCheck >=2.7 && <3.0
, tasty >=0.8 && <1.5
, tasty-quickcheck >=0.8 && <1.3