95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
# SPDX-FileCopyrightText: 2024 UniWorX Systems
|
|
# SPDX-FileContributor: David Mosbach <david.mosbach@uniworx.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
name: oauth2-mock-server
|
|
version: 0.1.0.0
|
|
# github: "githubuser/oauth2-mock-server"
|
|
license: AGPL-3.0-or-later
|
|
author: "David Mosbach"
|
|
maintainer: "david.mosbach@uniworx.de"
|
|
copyright: "2023-2024 David Mosbach, UniWorX Systems"
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
|
|
# Metadata used when publishing your package
|
|
# synopsis: Short description of your package
|
|
# category: Web
|
|
|
|
# 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/oauth2-mock-server#readme>
|
|
|
|
dependencies:
|
|
- base >= 4.7 && < 5
|
|
- ghc
|
|
- servant
|
|
- servant-server
|
|
- servant-client
|
|
- http-client
|
|
- warp
|
|
- aeson
|
|
- text
|
|
- containers
|
|
- stm
|
|
- time
|
|
- transformers
|
|
- bytestring
|
|
- jose-jwt
|
|
- base64
|
|
- http-api-data
|
|
- uuid
|
|
- blaze-html
|
|
- http-media
|
|
- string-interpolate
|
|
- cookie
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -Wcompat
|
|
- -Widentities
|
|
- -Wincomplete-record-updates
|
|
- -Wincomplete-uni-patterns
|
|
- -Wmissing-export-lists
|
|
- -Wmissing-home-modules
|
|
- -Wpartial-fields
|
|
- -Wredundant-constraints
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
oauth2-mock-server-exe:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- oauth2-mock-server
|
|
- persistent
|
|
- persistent-postgresql
|
|
- persistent-template
|
|
- monad-logger
|
|
- conduit
|
|
- mtl
|
|
- yaml
|
|
- servant
|
|
- servant-server
|
|
- blaze-html
|
|
|
|
tests:
|
|
oauth2-mock-server-test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- oauth2-mock-server
|