name:             zmidi-core
version:          0.9.0
license:          BSD3
license-file:     LICENSE
copyright:        Stephen Tetley <stephen.tetley@gmail.com>
maintainer:       Stephen Tetley <stephen.tetley@gmail.com>
homepage:         https://github.com/stephentetley/zmidi-core
category:         Music
synopsis:         Read and write MIDI files.
description:
  .
  Minimalist library to read and write MIDI files, with 
  dependencies only on ByteString, Containers and Data.Binary.
  .
  Changelog:
  .
  v0.8.2 to v0.9.0:
  .
  * Improvements to handling pitch bend. The value of pitch 
    bend is now represented as a Word14 and it is encoded
    and decoded according to the MIDI spec (previously it
    was left uninterpreted).
    Thanks to Joachim Tilsted Kristensen.
  .
  * Removed ZMidi.Core.VersionNumber file. This means we can 
    have a vanilla Setup.hs file.
  .
  v0.8.1 to v0.8.2:
  .
  * Updated to compile with ghc-8.4. Thanks to Evan Laforge.
  .
  v0.8.0 to v0.8.1:
  . 
  * Fixed error with missing CPP directive in ZMidi.Core.Pretty.
  . 
  For older changes see - CHANGES file.
  .
build-type:         Simple
stability:          unstable
cabal-version:      >= 1.2

extra-source-files:
  CHANGES,
  demo/MidiCopy.hs,
  demo/MidiPrint.hs,
  demo/MidiTune.hs


library
  hs-source-dirs:     src
  build-depends:      base < 5,
                      bytestring,
                      containers,
                      binary >= 0.5
  
  exposed-modules:
    ZMidi.Core,
    ZMidi.Core.Canonical,
    ZMidi.Core.Datatypes,
    ZMidi.Core.Pretty,
    ZMidi.Core.Pretty.Ascii,
    ZMidi.Core.Pretty.Csv,
    ZMidi.Core.Pretty.Internal,
    ZMidi.Core.Pretty.Interp,
    ZMidi.Core.ReadFile,
    ZMidi.Core.WriteFile

  other-modules:
    ZMidi.Core.Internal.ExtraTypes,
    ZMidi.Core.Internal.ParserMonad,
    ZMidi.Core.Internal.SimpleFormat
      
  extensions:
    

  ghc-options:
  
  includes: