packages feed

months-0.2.1: months.cabal

cabal-version:      2.2
name:               months
version:            0.2.1
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 ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.6
   || ==9.8.2
   || ==9.10.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.12.0.0 && <4.21
    , deepseq  ^>=1.4.4.0 || ^>=1.5.0.0
    , text     ^>=1.2.3.0 || ^>=2.0     || ^>=2.1 || ^>=2.2

  -- other depednencies
  build-depends:
    , attoparsec   ^>=0.13.2.2 || ^>=0.14.1
    , hashable     ^>=1.4.0.1
    , QuickCheck   ^>=2.14.5   || ^>=2.15
    , time-compat  ^>=1.9.5

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

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