monomer/package.yaml
2021-03-12 17:46:22 -03:00

130 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
# 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.
description: 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
- cborg
- containers
- concurrent-extra
- data-default
- exceptions
- extra
- formatting
- http-client
- JuicyPixels
- lens
- mtl
- nanovg
- OpenGL
- safe
- sdl2
- serialise
- stm
- text
- text-show
- 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
todo:
main: Main.hs
source-dirs: examples/todo
dependencies:
- lens
- monomer
- text-show
books:
main: Main.hs
source-dirs: examples/books
dependencies:
- aeson
- lens
- monomer
- text-show
- wreq
ticker:
main: Main.hs
source-dirs: examples/ticker
dependencies:
- aeson
- lens
- monomer
- scientific
- text-show
- websockets
- wuss
tests:
monomer-test:
main: Spec.hs
source-dirs: test/unit
ghc-options:
- -fwarn-incomplete-patterns
# - -threaded
- -rtsopts
- -with-rtsopts=-N
- -with-rtsopts=-T
dependencies:
- call-stack
- directory
- monomer
- hedgehog
- hspec
- HUnit
- silently