packages feed

email-validate-2.0.0: email-validate.cabal

name:           email-validate
version:        2.0.0
license:        BSD3
license-file:   LICENSE
author:         George Pollard <porges@porg.es>
maintainer:     George Pollard <porges@porg.es>
homepage:       http://porg.es/blog/email-address-validation-simpler-faster-more-correct
category:       Text
synopsis:       Validating an email address string against RFC 5322
description:    Validating an email address string against RFC 5322
build-type:     Simple
stability:      experimental
cabal-version:  >= 1.8

source-repository head
    type: git
    location: git://github.com/Porges/email-validate-hs.git

source-repository this
    type: git
    location: git://github.com/Porges/email-validate-hs.git
    tag: v2.0.0

library
    build-depends: base >= 4 && < 5
                 , attoparsec >= 0.10.0
                 , bytestring >= 0.9
    ghc-options: -O2
    hs-source-dirs: src
    exposed-modules: Text.Email.Validate
                   , Text.Email.Parser

Test-Suite Main
    type: exitcode-stdio-1.0
    main-is: Main.hs
    hs-source-dirs: tests
    test-module Test.Text.Email.Validate
    x-uses-tf: true
    build-depends: base >= 4 && < 5
                 , HUnit >= 1.2 && < 2
                 , email-validate
                 , QuickCheck >= 2.4
                 , test-framework >= 0.4.1
                 , test-framework-quickcheck2
                 , test-framework-hunit
                 , bytestring >= 0.9