monomer/package.yaml
2021-05-28 20:08:01 -03:00

137 lines
2.1 KiB
YAML

name: monomer
version: 0.1.0.0
github: "fjvallarino/monomer"
license: BSD3
author: "Francisco Vallarino"
maintainer: "fjvallarino@gmail.com"
copyright: "2018 Francisco Vallarino"
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
synopsis: GUI Library
category: GUI
description:
Monomer is a cross platform GUI library inspired by Elm and Flutter.
Please see the README on Github at <https://github.com/fjvallarino/monomer#readme>
default-extensions:
- OverloadedStrings
dependencies:
- async
- attoparsec
- base >= 4.7 && < 5
- bytestring
- bytestring-to-vector
- containers
- concurrent-extra
- data-default
- exceptions
- extra
- formatting
- http-client
- JuicyPixels
- lens
- mtl
- nanovg
- OpenGL
- process
- safe
- sdl2
- stm
- text
- text-show
- time
- transformers
- unordered-containers
- vector
- wreq
library:
source-dirs: src
c-sources:
- cbits/glew.c
cc-options:
- -fPIC
ghc-options:
- -fwarn-incomplete-patterns
extra-libraries:
- GLEW
executables:
monomer-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -fwarn-incomplete-patterns
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -with-rtsopts=-T
dependencies:
- ekg
- lens
- monomer
books:
main: Main.hs
source-dirs: examples/books
dependencies:
- aeson
- lens
- monomer
- text-show
- wreq
generative:
main: Main.hs
source-dirs: examples/generative
dependencies:
- lens
- monomer
- random
- text-show
ticker:
main: Main.hs
source-dirs: examples/ticker
dependencies:
- aeson
- lens
- monomer
- scientific
- text-show
- websockets
- wuss
todo:
main: Main.hs
source-dirs: examples/todo
dependencies:
- lens
- monomer
- text-show
tests:
monomer-test:
main: Spec.hs
source-dirs: test/unit
ghc-options:
- -fwarn-incomplete-patterns
- -rtsopts
- -with-rtsopts=-N
- -with-rtsopts=-T
dependencies:
- call-stack
- directory
- monomer
- hedgehog
- hspec
- HUnit
- silently