packages feed

time-machine-0.1.0: time-machine.cabal

name:                time-machine
version:             0.1.0
synopsis:            A library to mock the current time.
description:
    A library to mock the current time and relevant IO functions
    by using a type class.
    You can get the great command of the current time in UTC,
    time zones, and the speed of time.
homepage:            https://github.com/y-taka-23/time-machine#readme
license:             BSD3
license-file:        LICENSE
author:              TAKAHASHI Yuto <ytaka23dev@gmail.com>
maintainer:          TAKAHASHI Yuto <ytaka23dev@gmail.com>
copyright:           Copyright (C) 2017 TAKAHASHI Yuto
category:            Control
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Control.Monad.TimeMachine
                     , Control.Monad.TimeMachine.Engine
                     , Control.Monad.TimeMachine.Cockpit
  build-depends:       base >= 4.7 && < 5
                     , mtl
                     , time
                     , tz
  default-language:    Haskell2010

test-suite spec
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Control.Monad.TimeMachine.EngineSpec
                     , Control.Monad.TimeMachine.CockpitSpec
  build-depends:       base
                     , hspec
                     , HUnit
                     , mtl
                     , time
                     , tz
                     , time-machine
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/y-taka-23/time-machine