monomer/package.yaml

173 lines
3.7 KiB
YAML
Raw Normal View History

2021-02-04 15:57:15 +03:00
name: monomer
version: 1.0.0.0
2021-07-19 03:36:16 +03:00
github: fjvallarino/monomer
2021-02-04 15:57:15 +03:00
license: BSD3
2021-07-19 03:36:16 +03:00
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
synopsis: GUI Library
category: GUI
description:
2021-07-19 03:36:16 +03:00
Monomer is an easy to use, cross platform, GUI library for writing Haskell
applications.
It provides a framework similar to the Elm Architecture, allowing to create
GUIs functionally using an extensible set of widgets.
You can find the available widgets in @Monomer.Widgets@.
2019-09-23 17:46:21 +03:00
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:
- async >= 2.1 && < 2.3
- attoparsec >= 0.12 && < 0.15
- base >= 4.11 && < 5
- bytestring >= 0.10 && < 0.12
- bytestring-to-vector >= 0.3 && < 0.4
- containers >= 0.5.11 && < 0.7
- data-default >= 0.5 && < 0.8
- exceptions >= 0.10 && < 0.11
- extra >= 1.6 && < 1.9
- formatting >= 6.0 && < 8.0
- http-client >= 0.6 && < 0.9
- JuicyPixels >= 3.2.9 && < 3.5
- lens >= 4.16 && < 5.1
- mtl >= 2.1 && < 2.3
- nanovg >= 0.8 && < 1.0
- OpenGL >= 3.0 && < 3.1
- process >= 1.6 && < 1.7
- safe >= 0.3 && < 0.4
- sdl2 >= 2.4.0 && < 2.6
- stm >= 2.5 && < 2.6
- text >= 1.2 && < 1.3
- text-show >= 3.7 && < 3.10
2021-08-01 07:34:09 +03:00
- time >= 1.8 && < 1.13
- transformers >= 0.5 && < 0.7
- unordered-containers >= 0.2.8 && < 0.3
- vector >= 0.12 && < 0.14
- wreq >= 0.5.2 && < 0.6
2019-09-23 17:46:21 +03:00
library:
source-dirs: src
include-dirs: cbits
install-includes:
- fontmanager.h
2019-09-23 17:46:21 +03:00
c-sources:
- cbits/dpi.c
- cbits/fontmanager.c
- cbits/glew.c
build-tools: c2hs
2019-09-23 17:46:21 +03:00
cc-options:
- -fPIC
ghc-options:
- -fwarn-incomplete-patterns
when:
- condition: os(windows)
then:
extra-libraries: glew32
else:
extra-libraries: GLEW
2019-09-23 17:46:21 +03:00
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:
- ekg >= 0.4 && < 0.4.1
- lens >= 4.16 && < 5.1
2020-05-04 20:19:48 +03:00
- monomer
2019-09-23 17:46:21 +03:00
books:
2021-02-04 15:57:15 +03:00
main: Main.hs
source-dirs: examples/books
ghc-options:
- -threaded
2021-02-04 15:57:15 +03:00
dependencies:
- aeson >= 1.4 && < 1.6
- lens >= 4.16 && < 5.1
2021-02-04 15:57:15 +03:00
- monomer
- text-show >= 3.7 && < 3.10
- wreq >= 0.5.2 && < 0.6
2021-02-04 15:57:15 +03:00
generative:
main: Main.hs
source-dirs: examples/generative
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- random >= 1.1 && < 1.3
- text-show >= 3.7 && < 3.10
2021-03-12 16:38:38 +03:00
ticker:
main: Main.hs
source-dirs: examples/ticker
ghc-options:
- -threaded
2021-03-12 16:38:38 +03:00
dependencies:
- aeson >= 1.4 && < 1.6
- lens >= 4.16 && < 5.1
2021-03-12 16:38:38 +03:00
- monomer
- scientific >= 0.3 && < 0.4
- text-show >= 3.7 && < 3.10
- websockets >= 0.12 && < 0.13
- wuss >= 1.1 && < 1.2
2021-03-12 16:38:38 +03:00
todo:
main: Main.hs
source-dirs: examples/todo
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- text-show >= 3.7 && < 3.10
2021-06-08 06:22:21 +03:00
tutorial:
main: Main.hs
source-dirs: examples/tutorial
ghc-options:
- -threaded
2021-06-08 06:22:21 +03:00
dependencies:
- lens >= 4.16 && < 5.1
2021-06-08 06:22:21 +03:00
- monomer
- random >= 1.1 && < 1.3
- text-show >= 3.7 && < 3.10
2021-08-01 07:34:09 +03:00
- time >= 1.8 && < 1.13
2021-06-08 06:22:21 +03:00
2019-09-23 17:46:21 +03:00
tests:
2020-05-04 20:19:48 +03:00
monomer-test:
main: Spec.hs
source-dirs: test/unit
2019-09-23 17:46:21 +03:00
ghc-options:
- -threaded
2019-09-23 17:46:21 +03:00
- -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
- directory >= 1.3 && < 1.4
2020-05-04 20:19:48 +03:00
- monomer
# - hedgehog >= 1.0 && < 1.1
- hspec >= 2.4 && < 3.0
- HUnit >= 1.6 && < 1.7
- silently >= 1.2 && < 1.3