packages feed

email-validate-2.1.0: email-validate.cabal

name:           email-validate
version:        2.1.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.10

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.1.0

library
    build-depends:
        base >= 4 && < 5,
        attoparsec >= 0.10.0,
        bytestring >= 0.9,
        ghc-prim
    default-language: Haskell2010
    default-extensions: DeriveGeneric, DeriveDataTypeable
    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
    x-uses-tf: true
    default-language: Haskell2010
    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