packages feed

wavy-0.1.0.0: wavy.cabal

-- Initial wavy.cabal generated by cabal init.  For further documentation, 
-- see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                wavy

-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.0

-- A short (one-line) description of the package.
synopsis:            Process WAVE files in Haskell.

-- A longer description of the package.
description:         Wavy was designed to be a fast and efficient method of extracting and writing PCM
                     data to and from WAV files. It is here to help you make fast use of Audio
                     data in your Haskell programs and thus encourage many more audio projects in Haskell.

-- The license under which the package is released.
license:             BSD3

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

-- The package author(s).
author:              Robert Massaioli <robertmassaioli@gmail.com>

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          Robert Massaioli <robertmassaioli@gmail.com>

-- A copyright notice.
copyright:           (c) 2013-2014 Robert Massaioli <robertmassaioli@gmail.com>

category:            Sound

build-type:          Simple

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

-- Bitbucket Information
homepage:            http://bitbucket.org/robertmassaioli/wavy
bug-reports:         http://bitbucket.org/robertmassaioli/wavy/issues


library
  -- Modules exported by the library.
  exposed-modules:     Sound.Wav
                       , Sound.Wav.ChannelData

  ghc-options: -W
  
  -- Modules included in this library but not exported.
  other-modules:       Sound.Wav.Data
                       , Sound.Wav.Assemble
                       , Sound.Wav.Parse
                       , Sound.Wav.Info
                       , Sound.Wav.AudioFormats
                       , Sound.Wav.WaveFormat
                       , Sound.Wav.Constants
                       , Sound.Wav.Binary
                       , Sound.Wav.Scale
  
  -- Other library packages from which modules are imported.
  build-depends:       base >=4.5 && <5.0
                       , riff >=0.3 && <0.4
                       , binary ==0.7.*
                       , bytestring >=0.9 && <1.0
                       , split ==0.2.*
                       , containers ==0.4.*
                       , vector ==0.10.*

executable wave-identity
   hs-source-dirs: src
   main-is: Identity.hs

   -- ghc-options: -prof
  
  build-depends:       base >=4.5 && <5.0
                       , split
                       , pretty-show
                       , wavy

executable wave-info
   hs-source-dirs: src
   main-is: Info.hs

   -- ghc-options: -prof

  build-depends:        base >=4.5 && <5.0
                        , bytestring >=0.9 && <1.0
                        , wavy

executable wave-split
   hs-source-dirs: src
   main-is: Splitter.hs

   other-modules: VectorUtils

   ghc-options: -rtsopts

   build-depends:       base >=4.5 && <5.0
                        , wavy
                        , split
                        , vector ==0.10.*
                        , filepath ==1.3.*

executable wave-generate-sine
   hs-source-dirs: src
   main-is: Generate.hs

   other-modules:       SineGenerator

   ghc-options: -rtsopts

   build-depends:       base >=4.5 && <5.0
                        , wavy
                        , vector ==0.10.*
                        , bytestring >=0.9 && <1.0