2021-02-04 15:57:15 +03:00
|
|
|
name: monomer
|
|
|
|
version: 0.1.0.0
|
|
|
|
github: "fjvallarino/monomer"
|
|
|
|
license: BSD3
|
|
|
|
author: "Francisco Vallarino"
|
|
|
|
maintainer: "fjvallarino@gmail.com"
|
|
|
|
copyright: "2018 Francisco Vallarino"
|
2019-09-23 17:46:21 +03:00
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
|
|
|
|
|
|
|
# Metadata used when publishing your package
|
2021-02-04 15:57:15 +03:00
|
|
|
synopsis: GUI Library
|
|
|
|
category: GUI
|
2019-09-23 17:46:21 +03:00
|
|
|
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
|
|
# common to point users to the README.md file.
|
2020-05-04 20:19:48 +03:00
|
|
|
description: Please see the README on Github at <https://github.com/fjvallarino/monomer#readme>
|
2019-09-23 17:46:21 +03:00
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
- OverloadedStrings
|
|
|
|
|
|
|
|
dependencies:
|
2019-11-26 01:29:19 +03:00
|
|
|
- async
|
2020-09-14 00:37:59 +03:00
|
|
|
- attoparsec
|
2019-09-23 17:46:21 +03:00
|
|
|
- base >= 4.7 && < 5
|
2020-08-25 06:23:36 +03:00
|
|
|
- bytestring
|
|
|
|
- bytestring-to-vector
|
2019-09-23 17:46:21 +03:00
|
|
|
- containers
|
2020-08-26 02:07:48 +03:00
|
|
|
- concurrent-extra
|
2019-09-23 17:46:21 +03:00
|
|
|
- data-default
|
2021-01-12 20:34:39 +03:00
|
|
|
- exceptions
|
2019-09-23 17:46:21 +03:00
|
|
|
- extra
|
2020-09-14 01:16:15 +03:00
|
|
|
- formatting
|
2020-10-12 03:54:34 +03:00
|
|
|
- http-client
|
2020-08-24 08:11:37 +03:00
|
|
|
- JuicyPixels
|
2020-11-05 21:56:06 +03:00
|
|
|
- lens
|
2019-09-23 17:46:21 +03:00
|
|
|
- mtl
|
|
|
|
- nanovg
|
|
|
|
- OpenGL
|
2021-02-15 04:03:18 +03:00
|
|
|
- safe
|
2019-09-23 17:46:21 +03:00
|
|
|
- sdl2
|
2020-06-08 21:25:52 +03:00
|
|
|
- stm
|
2019-09-23 17:46:21 +03:00
|
|
|
- text
|
2020-06-04 23:36:01 +03:00
|
|
|
- text-show
|
2020-08-24 08:11:37 +03:00
|
|
|
- transformers
|
2019-09-23 17:46:21 +03:00
|
|
|
- unordered-containers
|
|
|
|
- vector
|
2020-10-01 05:27:36 +03:00
|
|
|
- wreq
|
2019-09-23 17:46:21 +03:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
c-sources:
|
|
|
|
- cbits/glew.c
|
|
|
|
cc-options:
|
|
|
|
- -fPIC
|
|
|
|
ghc-options:
|
|
|
|
- -fwarn-incomplete-patterns
|
|
|
|
extra-libraries:
|
|
|
|
- GLEW
|
|
|
|
|
|
|
|
executables:
|
2020-05-04 20:19:48 +03:00
|
|
|
monomer-exe:
|
2021-02-04 15:57:15 +03:00
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app
|
2019-09-23 17:46:21 +03:00
|
|
|
ghc-options:
|
|
|
|
- -fwarn-incomplete-patterns
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -with-rtsopts=-T
|
|
|
|
|
|
|
|
dependencies:
|
2020-06-08 21:25:52 +03:00
|
|
|
- ekg
|
2020-07-08 06:08:35 +03:00
|
|
|
- lens
|
2020-05-04 20:19:48 +03:00
|
|
|
- monomer
|
2019-09-23 17:46:21 +03:00
|
|
|
|
2021-04-27 07:03:36 +03:00
|
|
|
books:
|
2021-02-04 15:57:15 +03:00
|
|
|
main: Main.hs
|
2021-04-27 07:03:36 +03:00
|
|
|
source-dirs: examples/books
|
2021-02-04 15:57:15 +03:00
|
|
|
dependencies:
|
2021-04-27 07:03:36 +03:00
|
|
|
- aeson
|
2021-02-04 15:57:15 +03:00
|
|
|
- lens
|
|
|
|
- monomer
|
2021-02-07 00:49:51 +03:00
|
|
|
- text-show
|
2021-04-27 07:03:36 +03:00
|
|
|
- wreq
|
2021-02-04 15:57:15 +03:00
|
|
|
|
2021-04-27 07:03:36 +03:00
|
|
|
generative:
|
2021-02-12 02:45:24 +03:00
|
|
|
main: Main.hs
|
2021-04-27 07:03:36 +03:00
|
|
|
source-dirs: examples/generative
|
2021-02-12 02:45:24 +03:00
|
|
|
dependencies:
|
|
|
|
- lens
|
|
|
|
- monomer
|
2021-04-27 07:03:36 +03:00
|
|
|
- random
|
2021-02-12 02:45:24 +03:00
|
|
|
- text-show
|
|
|
|
|
2021-03-12 16:38:38 +03:00
|
|
|
ticker:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: examples/ticker
|
|
|
|
dependencies:
|
|
|
|
- aeson
|
|
|
|
- lens
|
|
|
|
- monomer
|
|
|
|
- scientific
|
|
|
|
- text-show
|
|
|
|
- websockets
|
|
|
|
- wuss
|
|
|
|
|
2021-04-27 07:03:36 +03:00
|
|
|
todo:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: examples/todo
|
|
|
|
dependencies:
|
|
|
|
- lens
|
|
|
|
- monomer
|
|
|
|
- text-show
|
|
|
|
|
2019-09-23 17:46:21 +03:00
|
|
|
tests:
|
2020-05-04 20:19:48 +03:00
|
|
|
monomer-test:
|
2021-02-12 02:45:24 +03:00
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test/unit
|
2019-09-23 17:46:21 +03:00
|
|
|
ghc-options:
|
|
|
|
- -fwarn-incomplete-patterns
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2020-11-12 18:59:04 +03:00
|
|
|
- -with-rtsopts=-T
|
2019-09-23 17:46:21 +03:00
|
|
|
dependencies:
|
|
|
|
- call-stack
|
2021-01-12 20:34:39 +03:00
|
|
|
- directory
|
2020-05-04 20:19:48 +03:00
|
|
|
- monomer
|
2019-09-23 17:46:21 +03:00
|
|
|
- hedgehog
|
|
|
|
- hspec
|
|
|
|
- HUnit
|
|
|
|
- silently
|