packages feed

time-recurrence-0.6: time-recurrence.cabal

-- time-recurrence.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                time-recurrence

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.6

-- A short (one-line) description of the package.
Synopsis:            Generate recurring dates.

-- A longer description of the package.
Description:         time-recurrence is a library for generating
                     recurring dates.

                     It is based on the iCalendar spec (RFC 5545).
                     However it makes no attempt to strictly follow
                     the spec.

-- URL for the project homepage or repository.
Homepage:            http://github.com/hellertime/time-recurrence

-- The license under which the package is released.
License:             LGPL-3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Chris Heller

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          hellertime@gmail.com

-- A copyright notice.
-- Copyright:           

Category:            System

Build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.10

-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files:  
  README, AUTHORS, tests/Tests.lhs

source-repository head
  type: git
  location: http://github.com/hellertime/time-recurrence

flag test-suite
  description: Build the test suite
  default:     False

Library
  hs-source-dirs:      src
  ghc-options:         -Wall -fno-warn-name-shadowing

  -- Modules exported by the library.
  Exposed-modules:
     Data.Time.Calendar.Month,
     Data.Time.Calendar.WeekDay,
     Data.Time.CalendarTime,
     Data.Time.Moment,
     Data.Time.Moment.Interval,
     Data.Time.Moment.StartOfWeek,
     Data.Time.Recurrence,
     Data.Time.Recurrence.Schedule
  Other-modules:
     Data.Time.CalendarTime.CalendarTime,
     Data.Time.Moment.Moment,
     Data.Time.Moment.Private,
     Data.Time.Moment.UTC
  
  -- Packages needed in order to build this package.
  Build-depends:       base >= 4 && < 5,
                       time >= 1.4.0.1 && < 1.5,
                       data-ordlist >= 0.4 && < 0.4.5,
                       mtl >= 2.0.1.0 && < 2.1
  
  Default-Language:    Haskell98
  -- Modules not exported by this package.
  -- Other-modules:       
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:         

Test-Suite test-time-recurrence
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       src, tests
  main-is:              Tests.lhs
  ghc-options:          -Wall -fno-warn-name-shadowing
  build-depends:        base >= 4 && < 5,
                        time >= 1.4.0.1 && < 1.5,
                        data-ordlist >= 0.4 && < 0.4.5,
                        mtl >= 2.0.1.0 && < 2.1,
                        test-framework >= 0.4.0 && < 0.5,
                        test-framework-hunit >= 0.2.6 && < 0.3,
                        HUnit >= 1.2.2.3 && < 1.3,
                        old-locale >= 1.0.0.2 && < 1.1
  other-modules:
    Data.Time.Recurrence
  default-language:     Haskell98