packages feed

midi-0.0.7: midi.cabal

Name:             midi
Version:          0.0.7
License:          GPL
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://www.haskell.org/haskellwiki/MIDI
Package-URL:      http://darcs.haskell.org/midi/
Category:         Sound
Build-Type:       Simple
Synopsis:         Handling of MIDI messages and files
Description:
   MIDI is the Musical Instrument Digital Interface.
   The package contains definition of MIDI messages,
   reading and writing MIDI files.
   It contains no sending and receiving of MIDI messages. Cf. alsa-midi package.
   For music composition with MIDI output, see Haskore.
Tested-With:      GHC==6.4.1 && ==6.8.2
Cabal-Version:    >=1.2
Build-Type:       Simple

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

Library
  Build-Depends: event-list >=0.0.6 && < 0.1, non-negative>=0.0.1 && <0.1
  Build-Depends: mtl >=1 && <2, QuickCheck >=1 && <2
  If flag(splitBase)
    Build-Depends: base >= 2, random
  Else
    Build-Depends: base >= 1.0 && < 2
    -- Instead of the full-blown Monad Template Library with multi-parameter type classes with functional dependencies
    -- we also be happy with the less expensive
    -- http://darcs.haskell.org/packages/mtl-split/Control/Monad/Trans/State.hs

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Sound.MIDI.Event
    Sound.MIDI.File
    Sound.MIDI.File.Load
    Sound.MIDI.File.Save
    -- exports ByteString data type
    Sound.MIDI.General
    Sound.MIDI.IO
  Other-Modules:
    Sound.MIDI.Bit
    Sound.MIDI.Parser
    Sound.MIDI.ParserState
    Sound.MIDI.String
    Sound.MIDI.Utility