packages feed

rrule-0.1.2: rrule.cabal

cabal-version: 1.12

name:           rrule
version:        0.1.2
synopsis:       Recurrence rule parser and formatter
description:    Parser for recurrence rules including formatting back to RFC 5545 recurrence
                rule strings as well as providing English descriptions
homepage:       https://github.com/mitchellvitez/rrule#readme
bug-reports:    https://github.com/mitchellvitez/rrule/issues
author:         Mitchell Vitez
maintainer:     mitchell@vitez.me
copyright:      2020 Mitchell Vitez
license:        BSD3
license-file:   LICENSE
build-type:     Simple
category:       Time
extra-source-files:
    README.md
    changelog.md

source-repository head
  type: git
  location: https://github.com/mitchellvitez/rrule

library
  exposed-modules:
      Data.Time.RRule
  other-modules:
      Data.Time.RRule.Parse
      Data.Time.RRule.Types
  hs-source-dirs:
      src
  build-depends:
      base               >= 4.7   && < 5
    , megaparsec         >= 8.0.0 && < 8.1
    , text               >= 1.2.3 && < 1.3
    , parser-combinators >= 1.2.1 && < 1.3
    , time               >= 1.8.0 && < 1.12
  default-extensions:
      OverloadedStrings
    , LambdaCase
    , RecordWildCards
  default-language: Haskell2010

test-suite rrule-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:
      base
    , hspec              >= 2.7.1 && < 2.8
    , rrule
    , text
  default-extensions:
      OverloadedStrings
  default-language: Haskell2010