monomer/package.yaml

193 lines
4.0 KiB
YAML
Raw Normal View History

2021-02-04 15:57:15 +03:00
name: monomer
version: 1.6.0.1
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
2019-09-23 17:46:21 +03:00
# Metadata used when publishing your package
2021-08-09 17:42:03 +03:00
synopsis: A GUI library for writing native Haskell applications.
category: GUI
2021-08-09 17:42:03 +03:00
description: |
Monomer is an easy to use, cross platform, GUI library for writing native
Haskell applications.
2021-07-19 03:36:16 +03:00
2021-08-08 17:51:30 +03:00
It provides a framework similar to the Elm Architecture, allowing the creation
of GUIs using an extensible set of widgets with pure Haskell.
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
2019-09-23 17:46:21 +03:00
dependencies:
- async >= 2.1 && < 2.4
- attoparsec >= 0.12 && < 0.16
- base >= 4.11 && < 5
- bytestring >= 0.10 && < 0.20
- bytestring-to-vector >= 0.3 && < 0.4
- containers >= 0.5.11 && < 0.8
- data-default >= 0.5 && < 0.9
- exceptions >= 0.10 && < 0.13
- extra >= 1.6 && < 1.10
2023-02-24 20:14:08 +03:00
- foreign-store >= 0.2 && < 1.0
- formatting >= 6.0 && < 8.0
- http-client >= 0.6 && < 0.9
- JuicyPixels >= 3.2.9 && < 3.5
- lens >= 4.16 && < 6
2023-11-28 02:03:07 +03:00
- mtl >= 2.1 && < 2.4
- nanovg >= 0.8.1 && < 1.0
- OpenGLRaw >= 3.3 && < 3.5
- process >= 1.6 && < 1.8
- sdl2 >= 2.5.0 && < 2.7
- stm >= 2.5 && < 2.7
- text >= 1.2 && < 3
- text-show >= 3.7 && < 3.14
- time >= 1.8 && < 1.20
- transformers >= 0.5 && < 0.8
- vector >= 0.12 && < 0.20
- wreq >= 0.5.2 && < 0.7
2019-09-23 17:46:21 +03:00
flags:
examples:
default: False
manual: True
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
2019-09-23 17:46:21 +03:00
ghc-options:
- -fwarn-incomplete-patterns
pkg-config-dependencies: glew
when:
- condition: os(windows)
then:
extra-libraries: glew32
else:
extra-libraries: GLEW
2019-09-23 17:46:21 +03:00
executables:
dev-test-app:
2021-02-04 15:57:15 +03:00
main: Main.hs
source-dirs: dev-test-app
dependencies:
- monomer
2019-09-23 17:46:21 +03:00
ghc-options:
- -threaded
todo:
main: Main.hs
source-dirs: examples/todo
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
2019-09-23 17:46:21 +03:00
dependencies:
- monomer
ghc-options:
- -threaded
2019-09-23 17:46:21 +03:00
books:
2021-02-04 15:57:15 +03:00
main: Main.hs
source-dirs: examples/books
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
2021-02-04 15:57:15 +03:00
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- wreq >= 0.5.2 && < 0.6
ghc-options:
- -threaded
2021-02-04 15:57:15 +03:00
2021-03-12 16:38:38 +03:00
ticker:
main: Main.hs
source-dirs: examples/ticker
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
2021-03-12 16:38:38 +03:00
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- websockets >= 0.12 && < 0.13
- wuss >= 1.1 && < 2.3
ghc-options:
- -threaded
2021-03-12 16:38:38 +03:00
2021-08-09 06:10:32 +03:00
generative:
main: Main.hs
2021-08-09 06:10:32 +03:00
source-dirs: examples/generative
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
2021-09-23 00:27:53 +03:00
opengl:
main: Main.hs
source-dirs: examples/opengl
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
2021-09-23 00:27:53 +03:00
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
2021-09-23 00:27:53 +03:00
2021-06-08 06:22:21 +03:00
tutorial:
main: Main.hs
source-dirs: examples/tutorial
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
2021-06-08 06:22:21 +03:00
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
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:
- -fwarn-incomplete-patterns
2019-09-23 17:46:21 +03:00
dependencies:
- monomer
- hspec >= 2.4 && < 3.0