packages feed

google-search-0.2.0.0: google-search.cabal

name:           google-search
version:        0.2.0.0
synopsis:       EDSL for Google and GMail search expressions
description:
  Construct well-typed search expressions for use in various Google services.
homepage:       https://github.com/liyang/google-search
license:        BSD3
license-file:   LICENSE
author:         Liyang HU
maintainer:     google-search@liyang.hu
copyright:      © 2013 Liyang HU
category:       Language, Text, Web
build-type:     Simple
cabal-version:  >= 1.8
stability:      experimental
tested-with:
    GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4,
    GHC == 7.10.2, GHC == 7.10.3

source-repository head
    type:     git
    location: http://github.com/liyang/google-search

flag old-time
    description: time < 1.5
    default: False

library
    hs-source-dirs: src
    ghc-options: -Wall
    exposed-modules:
        Language.Google.Search.Simple
        Language.Google.Search.Mail
    build-depends:
        base >= 4.5 && <= 9000,
        free >= 2.1,
        nats >= 0.1,
        text >= 0.11
    if flag(old-time)
        build-depends: old-locale >= 1.0, time >= 1.4 && < 1.5
    else
        build-depends: time >= 1.5