packages feed

twitter-types-0.7.2: twitter-types.cabal

name:              twitter-types
version:           0.7.2
license:           BSD3
license-file:      LICENSE
author:            Takahiro HIMURA
maintainer:        Takahiro HIMURA <taka@himura.jp>
synopsis:          Twitter JSON parser and types
description:       This package uses enumerator package for access Twitter API.
category:          Web
stability:         Experimental
cabal-version:     >= 1.8
build-type:        Simple
homepage:          https://github.com/himura/twitter-types

extra-source-files:
  README.md
  tests/fixtures/*.json

source-repository head
  type: git
  location: git://github.com/himura/twitter-types.git

flag time15
  description: use time >= 1.5.
  default: False

library
  ghc-options: -Wall

  build-depends:
      base >= 4 && < 5
    , aeson >= 0.3.2.2
    , text
    , unordered-containers

  if flag(time15)
    build-depends:
        time >= 1.5 && < 1.6
  else
    build-depends:
        time >= 1.2 && < 1.5
      , old-locale

  if impl(ghc < 7.6)
    build-depends: ghc-prim

  exposed-modules:
    Web.Twitter.Types

test-suite tests
  type:              exitcode-stdio-1.0
  hs-source-dirs:    tests
  main-is:           TypesTest.hs
  build-depends:
      base >= 4.0 && < 5
    , template-haskell
    , test-framework >= 0.3.3
    , test-framework-th-prime
    , test-framework-hunit
    , test-framework-quickcheck2
    , HUnit
    , QuickCheck
    , derive
    , aeson
    , attoparsec
    , bytestring
    , text
    , time
    , unordered-containers
    , filepath
    , directory
    , twitter-types
    , old-locale
  other-modules:
    Fixtures
    Instances

  ghc-options:       -Wall