2019-03-22 21:34:01 +00:00
|
|
|
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
|
|
|
|
|
2019-07-18 12:57:16 +00:00
|
|
|
flag develop
|
|
|
|
description: compile mateamt in developer mode. Authentication disabled,
|
|
|
|
default: False
|
|
|
|
manual: True
|
|
|
|
|
2019-03-22 21:34:01 +00:00
|
|
|
executable mateamt
|
|
|
|
main-is: Main.hs
|
2019-09-07 00:48:05 +00:00
|
|
|
-- 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
|
2019-08-10 08:37:45 +00:00
|
|
|
, Control
|
|
|
|
, Control.Buy
|
|
|
|
, Control.Journal
|
2019-08-14 16:03:17 +00:00
|
|
|
, Control.User
|
|
|
|
, Control.Product
|
|
|
|
, Control.Auth
|
2019-09-07 18:05:24 +00:00
|
|
|
, Control.Avatar
|
2019-04-15 20:23:25 +00:00
|
|
|
, Model
|
|
|
|
, Model.User
|
2019-07-18 15:09:26 +00:00
|
|
|
, Model.Product
|
2019-04-21 15:27:15 +00:00
|
|
|
, Model.Auth
|
2019-07-21 12:42:45 +00:00
|
|
|
, Model.Amount
|
2019-08-09 18:54:06 +00:00
|
|
|
, Model.Journal
|
2019-09-07 18:05:24 +00:00
|
|
|
, Model.Avatar
|
2019-04-15 20:23:25 +00:00
|
|
|
, Types
|
2019-04-17 05:51:15 +00:00
|
|
|
, Types.Auth
|
2019-07-18 15:09:26 +00:00
|
|
|
, Types.Product
|
2019-05-06 21:41:05 +00:00
|
|
|
, Types.Reader
|
2019-04-17 14:14:44 +00:00
|
|
|
, Types.Refine
|
|
|
|
, Types.User
|
2019-07-18 17:01:49 +00:00
|
|
|
, Types.Purchase
|
2019-07-27 14:34:28 +00:00
|
|
|
, Types.Amount
|
2019-08-09 18:54:06 +00:00
|
|
|
, Types.Journal
|
2019-09-07 18:05:24 +00:00
|
|
|
, Types.Avatar
|
2019-03-22 21:34:01 +00:00
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base ^>=4.12.0.0
|
2019-04-15 20:23:25 +00:00
|
|
|
, servant
|
|
|
|
, servant-server
|
2019-09-07 18:05:24 +00:00
|
|
|
, servant-rawm
|
2019-04-15 20:23:25 +00:00
|
|
|
, opaleye
|
|
|
|
, aeson
|
|
|
|
, text
|
2019-05-08 23:24:58 +00:00
|
|
|
, time
|
2019-04-15 20:23:25 +00:00
|
|
|
, product-profunctors
|
|
|
|
, postgresql-simple
|
|
|
|
, warp
|
2019-04-16 11:30:16 +00:00
|
|
|
, wai
|
|
|
|
, wai-logger
|
2019-09-07 18:05:24 +00:00
|
|
|
, http-types
|
2019-04-15 20:23:25 +00:00
|
|
|
, http-api-data
|
2019-04-17 05:51:15 +00:00
|
|
|
, bytestring
|
2019-04-17 08:45:48 +00:00
|
|
|
, base16-bytestring
|
2019-04-21 15:27:15 +00:00
|
|
|
, random-bytestring
|
|
|
|
, containers
|
2019-05-06 21:41:05 +00:00
|
|
|
, stm
|
|
|
|
, mtl
|
2019-09-07 18:05:24 +00:00
|
|
|
, pureMD5
|
2019-03-22 21:34:01 +00:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2019-09-07 00:48:05 +00:00
|
|
|
ghc-options: -Wall
|
2019-07-18 12:57:16 +00:00
|
|
|
if flag(develop)
|
|
|
|
cpp-options: -DDEVELOP
|