packages feed

pipes-files-0.1.2: pipes-files.cabal

name:          pipes-files
version:       0.1.2
synopsis:      Fast traversal of directory trees using pipes
description:   Fast traversal of directory trees using pipes
homepage:      https://github.com/jwiegley/pipes-files
license:       BSD3
license-file:  LICENSE
author:        John Wiegley
maintainer:    johnw@newartisans.com
copyright:     Copyright 2015 (c) John Wiegley. All Rights Reserved.
category:      Data
build-type:    Simple
cabal-version: >=1.10

Source-repository head
  type: git
  location: git://github.com/jwiegley/pipes-files.git

Flag leafopt
  Description: Enable leaf optimization
  Default: True

library
  ghc-options:      -Wall -O2 -funbox-strict-fields
  include-dirs:     .
  c-sources:	      Helper.c
  if os(linux)
      cpp-options: -DHAVE_READDIR_R=1
  if os(linux) && flag(leafopt)
      cpp-options: -DLEAFOPT=1
  if os(darwin)
      cpp-options: -DHAVE_READDIR_R=1
  exposed-modules:     
      Pipes.Files
    , Pipes.Files.Directory
    , Pipes.Files.Types
  build-depends:       
      base                >=4.7  && <4.10
    , transformers        >=0.3  && <0.6
    , transformers-base   >=0.3  && <0.6
    , transformers-compat >=0.3  && <0.6
    , exceptions          >=0.8  && <0.9
    , mmorph              >=1.0  && <1.1
    , mtl                 >=2.1  && <2.3
    , monad-control       >=1.0  && <1.1
    , semigroups          >=0.16 && <0.19
    , free                >=4.12 && <4.13
    , pipes               >=4.1  && <4.4
    , directory           >=1.2  && <1.4
    , unix                >=2.7  && <2.8
    , hierarchy           >=0.2.1
    , regex-posix
    , unix-compat
    , attoparsec
    , bytestring
    , text
    , time
    , filepath
    , posix-paths
    , pipes-safe
  -- hs-source-dirs:      
  default-language:    Haskell2010

Test-suite doctests
  default-language: Haskell98
  type:    exitcode-stdio-1.0
  main-is: doctest.hs
  hs-source-dirs: test
  build-depends:      
      base
    , directory    >=1.2 && <1.4
    , doctest      >=0.8
    , filepath     >=1.3
    , semigroups   >=0.16 && <0.19

test-suite test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  ghc-options:      -Wall -fno-warn-deprecated-flags -threaded
  hs-source-dirs:   test
  main-is:          Main.hs
  build-depends: 
      base >=3
    , hierarchy
    , pipes-files
    , pipes              >=4.1  && <4.4
    , directory          >=1.2  && <1.4
    , unix               >=2.7  && <2.8
    , transformers       >=0.3  && <0.6
    , mtl                >=2.1  && <2.3
    , hspec              >=1.4.4
    , hspec-expectations >=0.3

test-suite find-hs
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          find-hs.hs
  ghc-options:      -threaded -O2
  hs-source-dirs:   test
  build-depends:
      base
    , transformers       >=0.3  && <0.6
    , text               >= 0.11.3.1
    , unix               >= 0.4.1.1
    , pipes              >=4.1  && <4.4
    , hspec              >=1.4.4
    , hspec-expectations >=0.3
    , pipes-safe
    , pipes-files
    , bytestring
    , process
    , mtl