packages feed

repa-sndfile-3.2.3.2: repa-sndfile.cabal

Name:           repa-sndfile
Version:        3.2.3.2
Synopsis:       Reading and writing sound files with repa arrays
License:        BSD3
License-file:   LICENSE
Author:         <8c6794b6@gmail.com>
Maintainer:     <8c6794b6@gmail.com>
Category:       Data Structures
Build-type:     Simple
Cabal-version:  >=1.8
Description:
  Add supporting of reading and writing audio data with repa arrays in
  various format.
  .
  The code is using libsndfile and hsndfile package.

Extra-source-files:
  README.md

flag example
  description:
    Compile example executables
  default:
    False

source-repository head
  type: git
  location: https://github.com/8c6794b6/repa-sndfile.git

Library
  ghc-options:
    -Wall
    -fno-warn-orphans
    -O3 -fllvm -optl-O3
  ghc-prof-options:
    -caf-all -auto-all
  Exposed-modules:
    Data.Array.Repa.IO.Sndfile
  Build-depends:
    base >= 4.6 && < 5.0,
    hsndfile >= 0.7.1,
    repa >= 3.2.3
  if flag(example)
    build-depends:
      hsndfile-vector >= 0.5.2,
      vector >= 0.10.9
    Exposed-modules:
      Data.Array.Repa.IO.Sndfile.Examples

test-suite tests
  type:
    exitcode-stdio-1.0
  ghc-options:
    -Wall -rtsopts -threaded
    -fno-warn-orphans
  main-is:
    exec/tests.hs
  other-modules:
    Data.Array.Repa.IO.Sndfile.Examples
  build-depends:
    base >= 4.6 && < 5.0,
    directory >= 1.2.0,
    filepath >= 1.3.0,
    hsndfile >= 0.7.1,
    hsndfile-vector >= 0.5.2,
    repa >= 3.2.3,
    vector >= 0.10.9,
    repa-sndfile -any

executable rw
  if flag(example)
    buildable: True
  else
    buildable: False
  hs-source-dirs:
    exec
  main-is:
    rw.hs
  ghc-options:
    -Wall -rtsopts -threaded
    -fno-warn-unused-do-bind
    -fno-warn-orphans
    -O3 -fllvm -optl-O3
  ghc-prof-options:
    -caf-all -auto-all
  build-depends:
    base >= 4.6 && < 5,
    hsndfile >= 0.7.1,
    hsndfile-vector >= 0.5.2,
    repa >= 3.2.3,
    vector >= 0.10.9,
    repa-sndfile -any

executable gensine
  if flag(example)
    buildable: True
  else
    buildable: False
  hs-source-dirs:
    exec
  main-is:
    gensine.hs
  ghc-options:
    -Wall -rtsopts -threaded
    -fno-warn-unused-do-bind
    -fno-warn-orphans
    -O3 -fllvm -optl-O3
  ghc-prof-options:
    -caf-all -auto-all
  build-depends:
    base >= 4.6 && < 5,
    hsndfile >= 0.7.1,
    hsndfile-vector >= 0.5.2,
    vector >= 0.10.9,
    repa >= 3.2.3,
    repa-sndfile -any