name: options-time
version: 1.0
license: MIT
license-file: license.txt
author: John Millikin <john@john-millikin.com>
maintainer: John Millikin <john@john-millikin.com>
build-type: Simple
cabal-version: >= 1.8
category: Console
stability: stable
homepage: https://john-millikin.com/software/haskell-options/
synopsis: Command-line option types for dates and times.
source-repository head
type: git
location: https://john-millikin.com/code/haskell-options-time/
source-repository this
type: git
location: https://john-millikin.com/code/haskell-options-time/
tag: haskell-options-time_1.0
flag old-locale
library
ghc-options: -Wall -fno-warn-orphans
hs-source-dirs: lib
if impl(ghc > 7.4)
ghc-options: -fwarn-unsafe
build-depends:
base >= 4.1 && < 5.0
, options >= 1.0 && < 2.0
if flag(old-locale)
build-depends:
time >= 1.1.3 && < 1.5
, old-locale >= 1.0 && < 2.0
else
build-depends:
time >= 1.5 && < 2.0
exposed-modules:
Options.Time
test-suite tests
type: exitcode-stdio-1.0
main-is: Tests.hs
ghc-options: -Wall
hs-source-dirs: tests
build-depends:
base >= 4.0 && < 5.0
, chell >= 0.4 && < 0.5
, options >= 1.0 && < 2.0
, options-time
, time >= 1.1.3 && < 2.0