Blob Blame History Raw
name:            attoparsec-iso8601
version:         1.0.2.0
x-revision: 1
synopsis:        Parsing of ISO 8601 dates, originally from aeson.
description:     Parsing of ISO 8601 dates, originally from aeson.
license:         BSD3
license-file:    LICENSE
category:        Parsing
copyright:       (c) 2011-2016 Bryan O'Sullivan
                 (c) 2011 MailRank, Inc.
author:          Bryan O'Sullivan <bos@serpentine.com>
maintainer:      Adam Bergmark <adam@bergmark.nl>
stability:       experimental
cabal-version:   >=1.10
homepage:        https://github.com/haskell/aeson
bug-reports:     https://github.com/haskell/aeson/issues
build-type:      Simple
tested-with:     GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1
extra-source-files:
  README.md

flag developer
  description: operate in developer mode
  default: False
  manual: True

flag fast
  description: compile without optimizations
  default: False
  manual: True

library
  hs-source-dirs:      .
  default-language:    Haskell2010
  ghc-options:         -Wall
  exposed-modules:
    Data.Attoparsec.Time.Internal
    Data.Attoparsec.Time
  build-depends:
    attoparsec >= 0.13.0.1 && < 0.15,
    base >= 4.7 && < 5,
    base-compat-batteries >= 0.10.0 && < 0.12,
    time-compat >= 1.9.4 && < 1.10,
    text >= 1.1.1.0 && < 1.3.0.0,
    time >= 1.1.1.4 && < 1.12

  if flag(fast)
    ghc-options: -O0
  else
    ghc-options: -O2

  if flag(developer)
    ghc-options: -Werror
    ghc-prof-options: -auto-all

source-repository head
  type:     git
  location: git://github.com/haskell/aeson.git
  subdir:   attoparsec-iso8601