packages feed

months-0.2: months.cabal

cabal-version:      2.2
name:               months
version:            0.2
synopsis:           MonthName
category:           Data, Time
description:
  Month and Quarter enumerations and some basic function and instances.

homepage:           https://github.com/phadej/months
bug-reports:        https://github.com/phadej/months/issues
author:             Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
license:            BSD-3-Clause
license-file:       LICENSE
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.4
   || ==9.0.1

source-repository head
  type:     git
  location: https://github.com/phadej/months

flag aeson
  description: Provide aeson instances
  default:     True
  manual:      True

flag intervals
  description: Provide to Interval functions
  default:     True
  manual:      True

library
  default-language: Haskell2010
  hs-source-dirs:   src
  ghc-options:      -Wall
  exposed-modules:  Data.Time.MonthName

  -- GHC boot libraries
  build-depends:
    , base     >=4.7     && <4.16
    , deepseq  ^>=1.3.0.0 || ^>=1.4.0.0
    , text     ^>=1.2.3.0

  -- other depednencies
  build-depends:
    , attoparsec   ^>=0.13.2.2
    , base-compat  ^>=0.11
    , hashable     ^>=1.3.1.0
    , QuickCheck   ^>=2.14.2
    , time-compat  ^>=1.9.5

  if flag(aeson)
    build-depends: aeson ^>=1.5.5.0

  if flag(intervals)
    build-depends: intervals ^>=0.9