packages feed

time-locale-compat-0.1.0.1: time-locale-compat.cabal

-- Initial time-locale-compat.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                time-locale-compat
version:             0.1.0.1
synopsis:            Compatibility of TimeLocale between old-locale and time-1.5
description:         This package contains wrapped name module for TimeLocale.
homepage:            http://twitter.com/khibino/
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2014 Kei Hibino
category:            System
build-type:          Simple
cabal-version:       >=1.10

flag old-locale
  description: If ture, use old-locale, otherwize use time 1.5 or newer.
  default:     True

library
  exposed-modules:     Data.Time.Locale.Compat

  build-depends:         base <5

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

  hs-source-dirs:      src

  default-language:    Haskell2010


source-repository head
  type:       git
  location:   https://github.com/khibino/haskell-time-locale-compat

source-repository head
  type:       mercurial
  location:   https://bitbucket.org/khibino/haskell-time-locale-compat