2022-04-22 16:15:23 +00:00
|
|
|
name: zgo-backend
|
|
|
|
version: 0.1.0.0
|
|
|
|
git: "https://gitlab.com/pitmutt/zgo-backend"
|
|
|
|
license: MIT
|
|
|
|
author: "Rene Vergara"
|
|
|
|
maintainer: "rene@vergara.network"
|
|
|
|
copyright: "Copyright (c) 2022 Vergara Technologies LLC"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
|
|
|
|
|
|
|
# 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-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
executables:
|
|
|
|
zgo-backend-exe:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
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-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
|