packages feed

hora-1.0.3: hora.cabal

name:                hora
version:             1.0.3
build-type:          Simple
cabal-version:       >=1.10

synopsis:            date time
description:         date time functions to pico precision
author:              Imants Cekusins
maintainer:          Imants Cekusins
category:            System, Time
license:             PublicDomain
license-file:        PublicDomain
extra-source-files:  changelog.md, README.md

homepage:            https://github.com/ciez/hora
source-repository   head
   type: git
   location: https://github.com/ciez/hora.git


library
  exposed-modules:
          Data.Time.Hora.Convert
          Data.Time.Hora.Future
          Data.Time.Hora.Timestamp
          Data.Time.Hora.Type.YmdHms
          Data.Time.Hora.Type.DmyHm
          Data.Time.Hora.Type.Time
          Data.Time.Hora.Parse
          Data.Time.Hora.Format

  other-modules:            
          Data.Time.Hora.WithTimeZone
  ghc-options:  -fwarn-unused-imports  
    
  build-depends:       base >=4.7 && <5.0,
                       time,
                       regex-do >= 3.1, 
                       binary
                       
  hs-source-dirs:      src
  default-language:    Haskell2010
  default-extensions:   FlexibleInstances
                        MultiParamTypeClasses
                        TypeSynonymInstances
                        BangPatterns
                        InstanceSigs
                        OverloadedStrings
                        FunctionalDependencies
                        StandaloneDeriving
                        ScopedTypeVariables
                        ConstraintKinds
                        GeneralizedNewtypeDeriving
                        RecordWildCards
                        DeriveGeneric
                        DeriveFunctor


test-suite spec
  default-language:Haskell2010
  type: exitcode-stdio-1.0
  ghc-options:  -fwarn-unused-imports
  hs-source-dirs: test, src
  default-extensions:   FlexibleInstances
                        MultiParamTypeClasses
                        TypeSynonymInstances
                        BangPatterns
                        InstanceSigs
                        OverloadedStrings
                        FunctionalDependencies
                        StandaloneDeriving
                        ScopedTypeVariables
                        ConstraintKinds
                        GeneralizedNewtypeDeriving
                        RecordWildCards
                        DeriveGeneric
                        DeriveFunctor

  main-is: Main.hs
  other-modules:
          Test.TestConvert
          Test.TestDiffTime
          Test.TestFuture
          Test.TestTime
          Test.TestDmyHm
          Test.TestPico
          Test.TestPico2

  build-depends:  base >= 4.8,
                  hspec >= 2.1.7,
                  QuickCheck >= 2.8.1,
                  time,
                  regex-do >= 3.1,
                  binary