packages feed

pcre-utils-0.1.8.2: pcre-utils.cabal

-- Initial pcre-utils.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pcre-utils
version:             0.1.8.2
synopsis:            Perl-like substitute and split for PCRE regexps.
description:         This package introduces split and replace like functions using PCRE regexps.
license:             BSD3
license-file:        LICENSE
author:              Simon Marechal
maintainer:          bartavelle@gmail.com
-- copyright:           
category:            Text
build-type:          Simple
cabal-version:       >=1.10
homepage:            https://github.com/bartavelle/pcre-utils
bug-reports:         https://github.com/bartavelle/pcre-utils/issues
Tested-With:         GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1


source-repository head
  type: git
  location: git://github.com/bartavelle/pcre-utils.git


library
  exposed-modules:     Text.Regex.PCRE.ByteString.Utils
  -- other-modules:       
  ghc-options:         -Wall
  -- ghc-prof-options:    -caf-all -auto-all
  build-depends:       base >= 4.6 && < 5
                     , regex-pcre-builtin >= 0.94.4.8
                     , bytestring
                     , attoparsec >= 0.11 && <= 0.15
                     , mtl >= 2.2.1 && < 2.3
                     , vector
                     , array
 default-language: Haskell2010

Test-Suite test-split
    hs-source-dirs: test
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall
    build-depends:  base,pcre-utils,HUnit,bytestring, regex-pcre-builtin
    main-is:        split.hs
    default-language: Haskell2010

Test-Suite test-subs
    hs-source-dirs: test
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall
    build-depends:  base,pcre-utils,HUnit,bytestring, regex-pcre-builtin
    main-is:        subs.hs
    default-language: Haskell2010