mateamt/mateamt.cabal

98 lines
3 KiB
Text

cabal-version: 2.4
-- Initial package description 'mateamt.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: mateamt
version: 0.0.0.0
synopsis: A whole new matemat
-- description:
-- bug-reports:
license: AGPL-3.0-only
license-file: LICENSE
author: nek0
maintainer: nek0@nek0.eu
-- copyright:
category: Web
extra-source-files: CHANGELOG.md
flag develop
description: compile mateamt in developer mode. Authentication disabled,
default: False
manual: True
executable mateamt
main-is: Main.hs
-- other-extensions:
build-depends: base ^>=4.12.0.0
, mateamt
, base16-bytestring
, containers
, mtl
, opaleye
, postgresql-simple
, stm
, servant
, servant-server
, time
, warp
, wai
, wai-logger
hs-source-dirs: app
ghc-options: -Wall
default-language: Haskell2010
library
exposed-modules: API
, Control
, Control.Buy
, Control.Journal
, Control.User
, Control.Product
, Control.Auth
, Control.Avatar
, Model
, Model.User
, Model.Product
, Model.Auth
, Model.Amount
, Model.Journal
, Model.Avatar
, Types
, Types.Auth
, Types.Product
, Types.Reader
, Types.Refine
, Types.User
, Types.Purchase
, Types.Amount
, Types.Journal
, Types.Avatar
-- other-extensions:
build-depends: base ^>=4.12.0.0
, servant
, servant-server
, servant-rawm
, opaleye
, aeson
, text
, time
, product-profunctors
, postgresql-simple
, warp
, wai
, wai-logger
, http-types
, http-api-data
, bytestring
, base16-bytestring
, base64-bytestring
, random-bytestring
, containers
, stm
, mtl
, pureMD5
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if flag(develop)
cpp-options: -DDEVELOP