packages feed

find-conduit-0.4.3: find-conduit.cabal

Name:                find-conduit
Version:             0.4.3
Synopsis:            A file-finding conduit that allows user control over traversals.
License-file:        LICENSE
License:             MIT
Author:              John Wiegley
Maintainer:          johnw@newartisans.com
Build-Type:          Simple
Cabal-Version:       >=1.10
Category:            System
Description:
  A file-finding conduit that allows user control over traversals.  Please see
  the module 'Data.Conduit.Find' for more information.

Source-repository head
  type: git
  location: git://github.com/jwiegley/find-conduit.git

Flag leafopt
  Description: Enable leaf optimization
  Default: True

Library
    default-language:   Haskell98
    ghc-options: -Wall -O2 -funbox-strict-fields
    if os(linux) && flag(leafopt)
        cpp-options: -DLEAFOPT=1
    build-depends:
        base                 >= 3 && < 5
      , conduit
      , conduit-extra
      , conduit-combinators
      , attoparsec
      , system-filepath
      , unix-compat          >= 0.4.1.1
      , text                 >= 0.11.3.1
      , regex-posix
      , mtl
      , semigroups
      , exceptions
      , time
      , streaming-commons
      , transformers
      , transformers-base
      , mmorph
      , either
      , monad-control
      , filepath
    exposed-modules:
        Data.Cond, Data.Conduit.Find

test-suite test
    hs-source-dirs: test
    default-language: Haskell2010
    main-is: main.hs
    type: exitcode-stdio-1.0
    ghc-options: -Wall -threaded
    build-depends:
        base
      , find-conduit
      , conduit
      , conduit-combinators
      , attoparsec
      , system-filepath
      , unix-compat          >= 0.4.1.1
      , text                 >= 0.11.3.1
      , regex-posix
      , mtl
      , time
      , either
      , semigroups
      , streaming-commons
      , exceptions
      , transformers
      , transformers-base
      , monad-control
      , mmorph
      , filepath
      , hspec                >= 1.4

Test-suite doctests
    Default-language: Haskell98
    Type:    exitcode-stdio-1.0
    Main-is: doctest.hs
    Hs-source-dirs: test
    Build-depends:      
        base
      , directory    >= 1.0
      , doctest      >= 0.8
      , filepath     >= 1.3
      , semigroups   >= 0.4

Executable find-hs
    Main-is:     find-hs.hs
    default-language:   Haskell2010
    Ghc-options: -threaded -O2
    Hs-source-dirs: test
    Build-depends:
        base
      , find-conduit
      , conduit
      , conduit-extra
      , conduit-combinators
      , attoparsec
      , system-filepath
      , unix                 >= 0.4.1.1
      , text                 >= 0.11.3.1
      , regex-posix
      , mtl
      , time
      , either
      , semigroups
      , streaming-commons
      , exceptions
      , transformers
      , transformers-base
      , monad-control
      , mmorph
      , filepath