Skip to content

Instantly share code, notes, and snippets.

@ethanabrooks
Created August 28, 2017 14:54
Show Gist options
  • Save ethanabrooks/021d9a6173cb4aa47cec0a0a672fef8b to your computer and use it in GitHub Desktop.
Save ethanabrooks/021d9a6173cb4aa47cec0a0a672fef8b to your computer and use it in GitHub Desktop.
Name: reactive-banana-wx
Version: 1.1.1.0
Synopsis: Examples for the reactive-banana library, using wxHaskell.
Description:
This library provides some GUI examples for the @reactive-banana@ library,
using wxHaskell.
.
Note: You need to install the (platform independent)
@cabal-macosx@ library before you can configure/build and install this library.
.
Note: This library contains examples, but they are not built by default.
To build and install the example, use the @buildExamples@ flag like this
.
@cabal install reactive-banana-wx -fbuildExamples@
.
/Stability forecast/ The wrapper functions are rather provisional.
Homepage: http://wiki.haskell.org/Reactive-banana
License: BSD3
License-file: LICENSE
Author: Heinrich Apfelmus
Maintainer: Heinrich Apfelmus <apfelmus quantentunnel de>
Category: FRP, GUI
Cabal-version: >= 1.8
Build-type: Custom
Extra-source-files: CHANGELOG.md,
Makefile
data-dir: data
data-files: *.ico, *.wav, *.png
flag buildExamples
description: Build example executables
default: False
Library
hs-source-dirs: src
build-depends: base >= 4.2 && < 5,
cabal-macosx >= 0.1 && < 0.3,
reactive-banana >= 1.1 && < 1.2,
wxcore (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93),
wx (>= 0.13.2.1 && < 0.90) || (>= 0.90.0.1 && < 0.93)
extensions: ExistentialQuantification
exposed-modules: Reactive.Banana.WX
Source-repository head
type: git
location: git://github.com/HeinrichApfelmus/reactive-banana.git
subdir: reactive-banana-wx
Executable Animation
if flag(buildExamples)
build-depends:
process >= 1.0 && < 1.4,
random >= 1.0 && <= 1.1,
executable-path == 0.0.*,
filepath >= 1.1 && <= 1.4.0.0,
reactive-banana, wx, wxcore, base
cpp-options: -DbuildExamples
else
buildable: False
hs-source-dirs: src
other-modules: Paths_reactive_banana_wx, Paths
main-is: Animation.hs
Executable Arithmetic
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: Arithmetic.hs
Executable Asteroids
if flag(buildExamples)
build-depends:
random >= 1.0 && <= 1.1,
executable-path == 0.0.*,
filepath >= 1.1 && <= 1.4.0.0,
reactive-banana, wx, wxcore, base
cpp-options: -DbuildExamples
else
buildable: False
hs-source-dirs: src
other-modules: Paths_reactive_banana_wx, Paths
main-is: Asteroids.hs
Executable BarTab
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: BarTab.hs
Executable Counter
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: Counter.hs
Executable CurrencyConverter
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: CurrencyConverter.hs
Executable CRUD
if flag(buildExamples)
build-depends: containers >= 0.3 && < 0.6,
reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: CRUD.hs
other-modules: Tidings
Executable NetMonitor
if flag(buildExamples)
build-depends: process >= 1.0 && < 1.4,
reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: NetMonitor.hs
Executable TicTacToe
if flag(buildExamples)
build-depends: array >= 0.3 && < 0.6,
reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: TicTacToe.hs
Executable TwoCounters
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: TwoCounters.hs
Executable Wave
if flag(buildExamples)
build-depends: reactive-banana, wx, wxcore, base
else
buildable: False
hs-source-dirs: src
main-is: Wave.hs
custom-setup
setup-depends:
base >= 4.2 && < 5,
Cabal >= 1.23,
cabal-macosx >= 0.1 && < 0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment