okapi/package.yaml

148 lines
2.9 KiB
YAML
Raw Normal View History

2022-03-30 03:07:37 +03:00
name: okapi
version: 0.1.0.2
github: "MonadicSystems/okapi"
2022-03-30 03:07:37 +03:00
license: BSD3
2022-05-30 11:51:05 +03:00
author: "Monadic Systems LLC"
maintainer: "tech@monadic.systems"
copyright: "2022 Monadic Systems LLC"
category: "Web"
synopsis: "A microframework based on monadic parsing"
2022-03-30 03:07:37 +03:00
extra-source-files:
- README.md
- ChangeLog.md
# 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/githubuser/okapi#readme>
dependencies:
- aeson >= 1.4.7
- attoparsec
2022-04-19 06:02:47 +03:00
- base >= 4.7 && < 5
2022-03-30 03:07:37 +03:00
- base64
- bytestring
2022-04-19 06:02:47 +03:00
- containers
- cookie
2022-07-05 17:43:37 +03:00
- extra
2022-03-30 03:07:37 +03:00
- http-api-data
- http-types
2022-04-13 02:26:59 +03:00
- lucid
2022-03-30 03:07:37 +03:00
- mmorph
- mtl
# - random
2022-07-03 09:46:12 +03:00
- parser-combinators
2022-04-19 06:02:47 +03:00
- stm
- template-haskell
2022-03-30 03:07:37 +03:00
- text
- transformers
2022-04-19 06:02:47 +03:00
- unagi-chan
- uuid
2022-04-13 02:22:36 +03:00
- vault
2022-04-19 06:02:47 +03:00
- wai
- wai-extra
- warp
- warp-tls
2022-03-30 03:07:37 +03:00
library:
source-dirs: src
2022-07-29 07:39:07 +03:00
executables:
2022-07-27 05:48:29 +03:00
# realworld-exe:
# main: Main.hs
# source-dirs: examples/realworld
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - okapi
# - containers
# - hasql
# - hasql-th
# - jwt
# - parser-combinators
# - time
# - vector
# - profunctors
2022-07-29 12:37:08 +03:00
calculator-exe:
2022-07-29 07:39:07 +03:00
main: Main.hs
2022-07-29 12:37:08 +03:00
source-dirs: examples/calculator
2022-07-29 07:39:07 +03:00
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
2022-07-29 12:37:08 +03:00
todo-exe:
main: Main.hs
source-dirs: examples/todo
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
- sqlite-simple
2022-07-27 11:48:10 +03:00
# chess-exe:
# main: Main.hs
# source-dirs: examples/chess
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - okapi
# - aeson
# - bytestring
# - extra
# - interpolatedstring-perl6
# - http-api-data
# - lucid
# - lucid-htmx
# - text
# - time
# - slave-thread
# - stm
# - unagi-chan
# - containers
# - parser-combinators
# servant-exe:
# main: Main.hs
# source-dirs: examples/servant
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - okapi
# - lucid
# - parser-combinators
# - servant
# - servant-lucid
# - servant-server
# sse-exe:
# main: Main.hs
# source-dirs: examples/sse
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - okapi
# - slave-thread
# - time
# - bytestring
2022-03-30 03:07:37 +03:00
tests:
okapi-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi