Cabal-Version: 2.2
Name:          midimory
Version:       0.1
Maintainer:    Henning Thielemann <alsa@henning-thielemann.de>
Author:        Henning Thielemann <alsa@henning-thielemann.de>
Category:      Sound, Music, Game, GUI
License:       BSD-3-Clause
License-file:  LICENSE
Homepage:      http://www.youtube.com/watch?v=cOlR73h2uII
Stability:     Experimental
Build-Type:    Simple
Synopsis:      A Memory-like (Concentration, Pairs, ...) game for tones
Description:
  This is a game like Memory but with tones instead of images.
  .
  There is a grid of buttons and each button plays a tone when pressed.
  Every tone is connected to two buttons.
  The players must find the pairs of buttons with equal tones.
  The two players alternatingly test pairs of buttons.
  If one selects a pair of buttons with equal tones,
  then his score is increased by one
  and he is allowed to perform another attempt.

Extra-Source-Files:
  reactive-no/Main.hs
  reactive-yes/Main.hs
  ReadMe.md
  wxc.nix
  shell.nix

Source-Repository head
  type:     darcs
  location: http://code.haskell.org/~thielema/midimory/

Source-Repository this
  type:     darcs
  tag:      0.1
  location: http://code.haskell.org/~thielema/midimory/

Flag reactive
  Description: Additional alternative implementation using reactive-banana-wx
  Default: False

Executable midimory
  If flag(reactive)
    Hs-Source-Dirs: reactive-yes
    Build-Depends:
      reactive-banana-wx >=1.1 && <1.2,
      reactive-banana >=1.3 && <1.4,
  Else
    Hs-Source-Dirs: reactive-no
  Main-Is: Main.hs
  Other-Modules:
    GUI
    Game
    Configuration
    MIDI
    Option
  Hs-Source-Dirs: src
  GHC-Options: -Wall
  Default-Language: Haskell98
  Build-Depends:
    wx >=0.12.1.6 && <0.94,
    wxcore >=0.12.1.6 && <0.94,
    alsa-seq >=0.6 && <0.7,
    alsa-core >=0.5 && <0.6,
    optparse-applicative >=0.14 && <0.19,
    shell-utility >=0.0 && <0.2,
    random >=1.0 && <1.3,
    transformers >=0.2 && <0.7,
    containers >=0.2 && <0.8,
    array >=0.4 && <0.6,
    utility-ht >=0.0.12 && <0.1,
    base >=3 && <5