mateamt/mateamt.cabal
2019-09-07 02:48:05 +02:00

91 lines
2.8 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
, Model
, Model.User
, Model.Product
, Model.Auth
, Model.Amount
, Model.Journal
, Types
, Types.Auth
, Types.Product
, Types.Reader
, Types.Refine
, Types.User
, Types.Purchase
, Types.Amount
, Types.Journal
-- other-extensions:
build-depends: base ^>=4.12.0.0
, servant
, servant-server
, opaleye
, aeson
, text
, time
, product-profunctors
, postgresql-simple
, warp
, wai
, wai-logger
, http-api-data
, bytestring
, base16-bytestring
, random-bytestring
, containers
, stm
, mtl
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if flag(develop)
cpp-options: -DDEVELOP