mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-23 09:54:24 +03:00
153 lines
3.0 KiB
YAML
153 lines
3.0 KiB
YAML
name: okapi
|
|
version: 0.1.0.2
|
|
github: "MonadicSystems/okapi"
|
|
license: BSD3
|
|
author: "Monadic Systems LLC"
|
|
maintainer: "tech@monadic.systems"
|
|
copyright: "2022 Monadic Systems LLC"
|
|
category: "Web"
|
|
synopsis: "A microframework based on monadic parsing"
|
|
|
|
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
|
|
- base >= 4.7 && < 5
|
|
- base64
|
|
- bytestring
|
|
- containers
|
|
- contravariant
|
|
- cookie
|
|
- extra
|
|
- http-api-data
|
|
- http-types
|
|
- invariant
|
|
- mmorph
|
|
- mtl
|
|
- network
|
|
- parser-combinators
|
|
- random
|
|
- stm
|
|
- template-haskell
|
|
- text
|
|
- transformers
|
|
- unagi-chan
|
|
- uuid
|
|
- vault
|
|
- wai
|
|
- wai-extra
|
|
- wai-websockets
|
|
- warp
|
|
- warp-tls
|
|
- websockets
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
# 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
|
|
calculator-exe:
|
|
main: Main.hs
|
|
source-dirs: examples/calculator
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- okapi
|
|
todo-exe:
|
|
main: Main.hs
|
|
source-dirs: examples/todo
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- okapi
|
|
- sqlite-simple
|
|
# 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
|
|
|
|
tests:
|
|
okapi-test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- okapi
|
|
- doctest-parallel
|