201 lines
4.1 KiB
Text
201 lines
4.1 KiB
Text
cabal-version: 3.0
|
|
name: mateamt
|
|
version: 0.0.0.0
|
|
synopsis: A whole new matemat
|
|
|
|
-- A longer description of the package.
|
|
-- description:
|
|
homepage: https://gitea.nek0.eu/nek0/mateamt/
|
|
|
|
-- A URL where users can report bugs.
|
|
-- bug-reports:
|
|
license: AGPL-3.0-or-later
|
|
license-file: LICENSE
|
|
author: nek0
|
|
maintainer: nek0@nek0.eu
|
|
|
|
-- A copyright notice.
|
|
-- copyright:
|
|
category: Web
|
|
extra-source-files:
|
|
README.md
|
|
CHANGELOG.md
|
|
translation/*.po
|
|
translation/*.pot
|
|
|
|
flag develop
|
|
description: Compile mateamt in developer mode. Authenitcation disabled.
|
|
default: False
|
|
manual: True
|
|
|
|
library
|
|
exposed-modules:
|
|
Model
|
|
Types
|
|
Control
|
|
API
|
|
Classes
|
|
Util
|
|
Util.Crypto
|
|
Model.Product
|
|
Model.Auth
|
|
Model.User
|
|
Model.Role
|
|
Model.Journal
|
|
Model.Amount
|
|
Model.Avatar
|
|
Model.Settings
|
|
Types.Reader
|
|
Types.Refine
|
|
Types.Product
|
|
Types.Auth
|
|
Types.User
|
|
Types.Role
|
|
Types.Purchase
|
|
Types.Journal
|
|
Types.Settings
|
|
Types.Meta
|
|
Types.Amount
|
|
Types.Avatar
|
|
Control.Product
|
|
Control.Auth
|
|
Control.User
|
|
Control.Buy
|
|
Control.Role
|
|
Control.Journal
|
|
Control.Meta
|
|
Control.Avatar
|
|
Control.Settings
|
|
Classes.DatabaseRepresentation
|
|
Classes.ToDatabase
|
|
Classes.FromDatabase
|
|
|
|
-- Modules included in this library but not exported.
|
|
-- other-modules:
|
|
other-extensions:
|
|
DataKinds TypeOperators FlexibleInstances MultiParamTypeClasses
|
|
RankNTypes ScopedTypeVariables FlexibleContexts OverloadedStrings
|
|
Arrows CPP LambdaCase DeriveGeneric TypeFamilies
|
|
TypeSynonymInstances
|
|
|
|
build-depends:
|
|
base >=4.14.1.0
|
|
, text >=1.2.4.1
|
|
, time >=1.9.3
|
|
, mtl >=2.2.2
|
|
, containers >=0.6.2.1
|
|
, bytestring >=0.10.12.0
|
|
, base16-bytestring
|
|
, base64-bytestring
|
|
, lens
|
|
, openapi3 >=3
|
|
, random
|
|
, servant
|
|
, servant-server
|
|
, servant-openapi3
|
|
, servant-rawm-server
|
|
, opaleye
|
|
, aeson
|
|
, profunctors
|
|
, product-profunctors
|
|
, postgresql-simple
|
|
, warp
|
|
, wai
|
|
, wai-logger
|
|
, http-types
|
|
, http-api-data
|
|
, stm
|
|
, cryptonite
|
|
, extra
|
|
, haskell-gettext
|
|
, mime-mail
|
|
, directory
|
|
, jose >= 0.10
|
|
, monad-time
|
|
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|
|
|
|
executable mateamt
|
|
main-is: Main.hs
|
|
-- Modules included in this executable, other than Main.
|
|
|
|
other-modules:
|
|
AppTypes
|
|
AppTypes.Configuration
|
|
Janitor
|
|
Paths_mateamt
|
|
other-extensions:
|
|
DataKinds TypeOperators FlexibleInstances MultiParamTypeClasses
|
|
RankNTypes ScopedTypeVariables FlexibleContexts OverloadedStrings
|
|
Arrows CPP LambdaCase DeriveGeneric TypeFamilies
|
|
TypeSynonymInstances
|
|
|
|
build-depends:
|
|
base >=4.14.1.0
|
|
, mateamt
|
|
, text >=1.2.4.1
|
|
, time >=1.9.3
|
|
, mtl >=2.2.2
|
|
, containers >=0.6.2.1
|
|
, bytestring >=0.10.12.0
|
|
, base16-bytestring
|
|
, lens
|
|
, opaleye
|
|
, openapi3
|
|
, postgresql-simple
|
|
, postgresql-simple-migration
|
|
, stm
|
|
, network
|
|
, servant
|
|
, servant-server
|
|
, servant-rawm-server
|
|
, servant-openapi3
|
|
, servant-swagger-ui
|
|
, servant-swagger-ui-core
|
|
, warp
|
|
, wai
|
|
, wai-logger
|
|
, yaml
|
|
, optparse-applicative
|
|
, case-insensitive
|
|
, iproute
|
|
, clock
|
|
, tagged
|
|
, jose >= 0.10
|
|
, aeson
|
|
|
|
hs-source-dirs: app
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|
|
|
|
-- test-suite mateamt-test
|
|
-- default-language: Haskell2010
|
|
-- type: exitcode-stdio-1.0
|
|
-- hs-source-dirs: test
|
|
-- ghc-options: -Wall
|
|
-- main-is: TestMain.hs
|
|
-- build-depends:
|
|
-- base >=4.14.1.0
|
|
-- , mateamt
|
|
-- , text >=1.2.4.1
|
|
-- , time >=1.9.3
|
|
-- , mtl >=2.2.2
|
|
-- , containers >=0.6.2.1
|
|
-- , bytestring >=0.10.12.0
|
|
-- , hspec
|
|
-- , hspec-wai
|
|
-- , hspec-wai-json
|
|
-- , warp
|
|
-- , wai
|
|
-- , pg-transact
|
|
-- , tmp-postgres
|
|
-- , resource-pool
|
|
-- , postgresql-simple
|
|
-- build-tool-depends:
|
|
-- hspec-discover:hspec-discover == 2.*
|
|
-- other-modules:
|
|
-- Spec
|
|
-- TestUtil
|
|
-- AppMainSpec
|