2022-04-22 16:15:23 +00:00
|
|
|
name: zgo-backend
|
2022-07-27 13:18:12 +00:00
|
|
|
version: 1.0.0
|
2022-04-22 16:15:23 +00:00
|
|
|
git: "https://gitlab.com/pitmutt/zgo-backend"
|
2022-05-19 18:08:12 +00:00
|
|
|
license: BOSL
|
2022-04-22 16:15:23 +00:00
|
|
|
author: "Rene Vergara"
|
|
|
|
maintainer: "rene@vergara.network"
|
|
|
|
copyright: "Copyright (c) 2022 Vergara Technologies LLC"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
2022-05-24 18:10:01 +00:00
|
|
|
- CHANGELOG.md
|
2022-05-19 18:08:12 +00:00
|
|
|
- zgo.cfg
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
# Metadata used when publishing your package
|
|
|
|
synopsis: Haskell Back-end for the ZGo point-of-sale application
|
|
|
|
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 GitLab at <https://gitlab.com/pitmutt/zgo-backend#readme>
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
dependencies:
|
|
|
|
- mongoDB
|
|
|
|
- time
|
|
|
|
- text
|
|
|
|
- unordered-containers
|
|
|
|
- bson
|
|
|
|
- aeson
|
2022-04-30 12:59:49 +00:00
|
|
|
- QuickCheck
|
|
|
|
- quickcheck-instances
|
|
|
|
- scotty
|
|
|
|
- http-conduit
|
|
|
|
- wai-extra
|
|
|
|
- http-types
|
|
|
|
- time
|
|
|
|
- securemem
|
|
|
|
- bytestring
|
|
|
|
- regex-base
|
|
|
|
- regex-compat
|
|
|
|
- array
|
|
|
|
- random
|
|
|
|
- vector
|
2022-05-17 17:47:27 +00:00
|
|
|
- wai-cors
|
2022-05-19 13:24:52 +00:00
|
|
|
- warp-tls
|
2022-07-07 15:13:33 +00:00
|
|
|
- hexstring
|
2022-07-12 21:08:27 +00:00
|
|
|
- configurator
|
2022-07-22 16:04:15 +00:00
|
|
|
- scientific
|
2022-08-20 13:09:46 +00:00
|
|
|
- jwt
|
|
|
|
- containers
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
executables:
|
|
|
|
zgo-backend-exe:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2022-05-03 13:59:29 +00:00
|
|
|
- -Wall
|
2022-04-22 16:15:23 +00:00
|
|
|
dependencies:
|
|
|
|
- zgo-backend
|
|
|
|
- base
|
|
|
|
- scotty
|
|
|
|
- wai-extra
|
|
|
|
- securemem
|
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- mongoDB
|
|
|
|
- http-types
|
|
|
|
- http-conduit
|
|
|
|
- time
|
2022-04-30 12:59:49 +00:00
|
|
|
- bytestring
|
2022-05-19 13:24:52 +00:00
|
|
|
- configurator
|
|
|
|
- warp-tls
|
2022-05-19 14:52:17 +00:00
|
|
|
- warp
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
tests:
|
|
|
|
zgo-backend-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -main-is Spec
|
|
|
|
dependencies:
|
|
|
|
- zgo-backend
|
|
|
|
- hspec
|
|
|
|
- QuickCheck
|
2022-04-30 12:59:49 +00:00
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- http-conduit
|
|
|
|
- http-types
|
|
|
|
- hspec-expectations-json
|
|
|
|
- bytestring
|
|
|
|
- mongoDB
|
|
|
|
- hspec-wai
|
|
|
|
- securemem
|
2022-05-11 20:04:46 +00:00
|
|
|
- time
|
2022-05-24 15:20:10 +00:00
|
|
|
- configurator
|
|
|
|
- scotty
|