monomer/package.yaml
Francisco Vallarino a16e8599df
Prepare release 1.6.0.1 (#314)
* Relax upper bounds for several packages

* Update Changelog
2024-01-08 02:35:36 +01:00

193 lines
4.0 KiB
YAML

name: monomer
version: 1.6.0.1
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: A GUI library for writing native Haskell applications.
category: GUI
description: |
Monomer is an easy to use, cross platform, GUI library for writing native
Haskell applications.
It provides a framework similar to the Elm Architecture, allowing the creation
of GUIs using an extensible set of widgets with pure Haskell.
Please see the README on Github at <https://github.com/fjvallarino/monomer#readme>
default-extensions:
- OverloadedStrings
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
- 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
- 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
flags:
examples:
default: False
manual: True
library:
source-dirs: src
include-dirs: cbits
install-includes:
- fontmanager.h
c-sources:
- cbits/dpi.c
- cbits/fontmanager.c
- cbits/glew.c
build-tools: c2hs
cc-options:
- -fPIC
ghc-options:
- -fwarn-incomplete-patterns
pkg-config-dependencies: glew
when:
- condition: os(windows)
then:
extra-libraries: glew32
else:
extra-libraries: GLEW
executables:
dev-test-app:
main: Main.hs
source-dirs: dev-test-app
dependencies:
- monomer
ghc-options:
- -threaded
todo:
main: Main.hs
source-dirs: examples/todo
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
ghc-options:
- -threaded
books:
main: Main.hs
source-dirs: examples/books
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- wreq >= 0.5.2 && < 0.6
ghc-options:
- -threaded
ticker:
main: Main.hs
source-dirs: examples/ticker
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- websockets >= 0.12 && < 0.13
- wuss >= 1.1 && < 2.3
ghc-options:
- -threaded
generative:
main: Main.hs
source-dirs: examples/generative
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
opengl:
main: Main.hs
source-dirs: examples/opengl
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
tutorial:
main: Main.hs
source-dirs: examples/tutorial
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
tests:
monomer-test:
main: Spec.hs
source-dirs: test/unit
ghc-options:
- -fwarn-incomplete-patterns
dependencies:
- monomer
- hspec >= 2.4 && < 3.0