time-hourglass-0.2.12: time-hourglass.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
name: time-hourglass
version: 0.2.12
synopsis: simple performant time related library
description: Simple time library focusing on simple but powerful and performant API
.
The backbone of the library are the Timeable and Time type classes.
.
Each Timeable instances can be converted to type that has a Time instances,
and thus are different representations of current time.
category: Time
stability: experimental
homepage: https://github.com/mpilgrem/time-hourglass
bug-reports: https://github.com/mpilgrem/time-hourglass/issues
author: Vincent Hanquez <vincent@snarc.org>
maintainer: Mike Pilgrem <public@pilgrem.com>
copyright: Vincent Hanquez <vincent@snarc.org>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
tests/TimeDB.hs
source-repository head
type: git
location: https://github.com/mpilgrem/time-hourglass
library
exposed-modules:
Time.Types
Time.System
Time.Compat
Data.Hourglass
Data.Hourglass.Types
Data.Hourglass.Epoch
Data.Hourglass.Compat
System.Hourglass
other-modules:
Data.Hourglass.Time
Data.Hourglass.Format
Data.Hourglass.Diff
Data.Hourglass.Local
Data.Hourglass.Calendar
Data.Hourglass.Zone
Data.Hourglass.Internal
Data.Hourglass.Utils
ghc-options: -Wall -fwarn-tabs
build-depends:
base ==4.*
, deepseq
default-language: Haskell2010
if os(windows)
other-modules:
Data.Hourglass.Internal.Win
cpp-options: -DWINDOWS
build-depends:
Win32
else
other-modules:
Data.Hourglass.Internal.Unix
c-sources:
cbits/unix.c
test-suite test-hourglass
type: exitcode-stdio-1.0
main-is: Tests.hs
other-modules:
TimeDB
hs-source-dirs:
tests
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
build-depends:
base >=3 && <5
, deepseq
, hourglass
, mtl
, old-locale
, tasty
, tasty-hunit
, tasty-quickcheck
, time
default-language: Haskell2010
if os(windows)
cpp-options: -DWINDOWS
benchmark bench-hourglass
type: exitcode-stdio-1.0
main-is: Bench.hs
other-modules:
Tests
TimeDB
hs-source-dirs:
tests
build-depends:
base ==4.*
, bytestring
, deepseq
, gauge
, hourglass
, mtl
, old-locale
, time
default-language: Haskell2010