]> git.immae.eu Git - github/fretlink/text-pipes.git/blame - pipes-text.cabal
add travis
[github/fretlink/text-pipes.git] / pipes-text.cabal
CommitLineData
7faef8bc 1name: pipes-text
5f3c3763 2version: 0.0.2.0
91727d11 3synopsis: Text pipes.
69fd54e3 4description: * This organization of the package follows the rule
4989a357 5 .
6 * @pipes-text : pipes-bytestring :: text : bytestring@
11b2cbe9 7 .
7da7dbc8 8 Familiarity with the other three packages should give one an idea what to expect where. The package has three principal modules, @Pipes.Text@ , @Pipes.Text.Encoding@ and @Pipes.Text.IO@; the division has more or less the significance it has in the @text@ library. A fourth module @Pipes.Prelude.Text@ is explained below.
02bc50d5 9 .
89cf7024 10 Note that the module @Pipes.Text.IO@ is present as a convenience (as is @Data.Text.IO@). Official pipes IO would use @Pipes.ByteString@ together with the bytestring decoding functions in @Pipes.Text.Encoding@. In particular, the @Pipes.Text.IO@ functions use Text exceptions.
11b2cbe9 11 .
d19efff3 12 The fourth module @Pipes.Prelude.Text@ exports line-based Text producers and consumers as a drop-in replacement for the String material in @Pipes.Prelude@ and @Pipes.Safe.Prelude@. They can be used as one uses @Pipes.Prelude@ without reference to the rest of this package. See the caveats in the documentation for that module.
7da7dbc8 13 .
d19efff3 14 @Pipes.Text.IO@ and @Pipes.Prelude.Text@ use version 0.11.3 or later of the @text@ library. To use a (very) old version of @text@, install with the flag @-fnoio@
7da7dbc8 15
16
409759e8 17
11b2cbe9 18homepage: https://github.com/michaelt/text-pipes
19bug-reports: https://github.com/michaelt/text-pipes/issues
91727d11 20license: BSD3
21license-file: LICENSE
409759e8 22author: Michael Thompson
91727d11 23maintainer: what_is_it_to_do_anything@yahoo.com
409759e8 24category: Text, Pipes
91727d11 25build-type: Simple
91727d11 26cabal-version: >=1.10
11777d08 27
ea05597c 28extra-source-files: README.md changelog
11777d08 29source-repository head
30 type: git
31 location: https://github.com/michaelt/text-pipes
32
bbdfd305 33flag noio
34 default: False
35 Description: Use a version of text earlier than 0.11.3
91727d11 36
37library
bbdfd305 38 exposed-modules: Pipes.Text, Pipes.Text.Encoding
e8336ba6 39 build-depends: base >= 4 && < 5 ,
eae50557 40 bytestring >= 0.9.2.1 && < 0.11,
6f9d4cfe 41 text >= 0.11.2 && < 1.3 ,
eae50557 42 streaming-commons >= 0.1 && < 0.2 ,
eae50557 43 pipes >= 4.0 && < 4.2 ,
44 pipes-group >= 1.0.0 && < 1.1 ,
45 pipes-parse >= 3.0.0 && < 3.1 ,
46 pipes-safe >= 2.1 && < 2.3 ,
57454c33 47 pipes-bytestring >= 1.0 && < 2.2 ,
eae50557 48 transformers >= 0.2.0.0 && < 0.5
49
bbdfd305 50 other-extensions: RankNTypes
3694350a 51 default-language: Haskell2010
bbdfd305 52 ghc-options: -O2
53
54 if !flag(noio)
6a143165 55 exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text
6f9d4cfe 56 build-depends: text >=0.11.3 && < 1.3