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 dependencies: - base >= 4.7 && < 5 library: source-dirs: src dependencies: - mongoDB - time - text - unordered-containers - bson - aeson 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 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