packages feed

event-list-0.0.9: event-list.cabal

Name:             event-list
Version:          0.0.9
License:          GPL
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://darcs.haskell.org/event-list/
Category:         Data
Synopsis:         Event lists with relative or absolute time stamps
Description:
   These lists manage events that are associated with times.
   Times may be given as difference between successive events
   or as absolute time values.
   Pauses before the first and after the last event are supported.
   The underlying data structures are lists of elements of alternating types,
   that is [b,a,b,...,a,b] or [a,b,a,...,a,b].
   The data structures can be used to represent
   MIDI files, OpenSoundControl message streams, music performances etc.
Tested-With:       GHC==6.4.1, GHC==6.6.1, GHC==6.8.2
Cabal-Version:     >=1.2
Build-Type:        Simple

Flag splitBase
  description: Choose the new smaller, split-up base package.

Flag buildTests
  description: Build test executables
  default:     False

Library
  Build-Depends: non-negative>=0.0 && <0.1
  Build-Depends: transformers >=0.0.1 && <0.2
  Build-Depends: utility-ht >=0.0.3 && <0.1
  If flag(splitBase)
    Build-Depends: base >= 2
  Else
    Build-Depends: base >= 1.0 && < 2

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Data.EventList.Absolute.TimeBody
    Data.EventList.Absolute.TimeTime
    Data.EventList.Absolute.TimeMixed
    Data.EventList.Relative.TimeBody
    Data.EventList.Relative.TimeTime
    Data.EventList.Relative.TimeMixed
    Data.EventList.Relative.BodyBody
    Data.EventList.Relative.BodyTime
    Data.EventList.Relative.MixedTime
    Data.EventList.Relative.MixedBody
  Other-Modules:
    Data.EventList.Utility
    Data.EventList.Absolute.TimeBodyPrivate
    Data.EventList.Absolute.TimeTimePrivate
    Data.EventList.Relative.TimeBodyPrivate
    Data.EventList.Relative.BodyBodyPrivate
    Data.EventList.Relative.TimeTimePrivate
    Data.EventList.Relative.BodyTimePrivate
    Data.AlternatingList.Custom
    Data.AlternatingList.List.Disparate
    Data.AlternatingList.List.Uniform
    Data.AlternatingList.List.Mixed

Executable       test
  If !flag(buildTests)
    Buildable:         False

  -- QuickCheck 1.1 has Maybe instance which we need
  Build-Depends: QuickCheck >=1.1 && <2
  If flag(splitBase)
    Build-Depends: random >=1.0 && <2.0

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Main-Is:          Test/Main.hs
  Extensions:       GeneralizedNewtypeDeriving
  Other-Modules:
    Test.Utility
    Test.Data.EventList.Absolute.BodyEnd
    Test.Data.EventList.Absolute.TimeEnd
    Test.Data.EventList.Relative.BodyEnd
    Test.Data.EventList.Relative.TimeEnd