2021-06-09 21:45:43 +00:00
|
|
|
cabal-version: 3.0
|
|
|
|
name: mateamt
|
|
|
|
version: 0.0.0.0
|
|
|
|
synopsis: A whole new matemat
|
2019-03-22 21:34:01 +00:00
|
|
|
|
2021-06-09 21:45:43 +00:00
|
|
|
-- A longer description of the package.
|
2019-03-22 21:34:01 +00:00
|
|
|
-- description:
|
2021-06-09 21:45:43 +00:00
|
|
|
homepage: https://gitea.nek0.eu/nek0/mateamt/
|
|
|
|
|
|
|
|
-- A URL where users can report bugs.
|
2019-03-22 21:34:01 +00:00
|
|
|
-- bug-reports:
|
2021-06-09 21:45:43 +00:00
|
|
|
license: AGPL-3.0-or-later
|
|
|
|
license-file: LICENSE
|
|
|
|
author: nek0
|
|
|
|
maintainer: nek0@nek0.eu
|
|
|
|
|
|
|
|
-- A copyright notice.
|
2019-03-22 21:34:01 +00:00
|
|
|
-- copyright:
|
2021-06-09 21:45:43 +00:00
|
|
|
category: Web
|
|
|
|
extra-source-files:
|
|
|
|
README.md
|
|
|
|
CHANGELOG.md
|
2021-06-24 04:33:05 +00:00
|
|
|
translation/*.po
|
|
|
|
translation/*.pot
|
2019-03-22 21:34:01 +00:00
|
|
|
|
2019-07-18 12:57:16 +00:00
|
|
|
flag develop
|
2021-06-09 21:45:43 +00:00
|
|
|
description: Compile mateamt in developer mode. Authenitcation disabled.
|
|
|
|
default: False
|
|
|
|
manual: True
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Model
|
|
|
|
Types
|
|
|
|
Control
|
|
|
|
API
|
|
|
|
Classes
|
|
|
|
Util
|
2022-04-17 11:47:46 +00:00
|
|
|
Util.Crypto
|
2021-06-09 21:45:43 +00:00
|
|
|
Model.Product
|
|
|
|
Model.Auth
|
|
|
|
Model.User
|
|
|
|
Model.Role
|
|
|
|
Model.Journal
|
|
|
|
Model.Amount
|
|
|
|
Model.Avatar
|
2022-07-24 20:45:13 +00:00
|
|
|
Model.Settings
|
2021-06-09 21:45:43 +00:00
|
|
|
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
|
2022-07-24 21:11:47 +00:00
|
|
|
Control.Settings
|
2022-07-24 13:26:55 +00:00
|
|
|
Classes.DatabaseRepresentation
|
2021-06-09 21:45:43 +00:00
|
|
|
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:
|
2022-04-15 11:59:17 +00:00
|
|
|
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
|
2021-06-09 21:45:43 +00:00
|
|
|
, base16-bytestring
|
|
|
|
, base64-bytestring
|
2022-07-17 19:28:22 +00:00
|
|
|
, lens
|
2022-05-28 10:54:13 +00:00
|
|
|
, openapi3 >=3
|
2022-04-16 14:09:50 +00:00
|
|
|
, random
|
2021-06-09 21:45:43 +00:00
|
|
|
, servant
|
|
|
|
, servant-server
|
2022-05-28 10:54:13 +00:00
|
|
|
, servant-openapi3
|
2021-06-09 21:45:43 +00:00
|
|
|
, servant-rawm >= 0.3.0.0
|
|
|
|
, servant-rawm-server
|
|
|
|
, opaleye
|
|
|
|
, aeson
|
|
|
|
, profunctors
|
|
|
|
, product-profunctors
|
|
|
|
, postgresql-simple
|
|
|
|
, warp
|
|
|
|
, wai
|
|
|
|
, wai-logger
|
|
|
|
, http-types
|
|
|
|
, http-api-data
|
|
|
|
, stm
|
2022-04-16 10:21:17 +00:00
|
|
|
, cryptonite
|
2021-06-09 21:45:43 +00:00
|
|
|
, extra
|
2021-07-12 11:29:40 +00:00
|
|
|
, haskell-gettext
|
|
|
|
, mime-mail
|
|
|
|
, directory
|
2021-06-09 21:45:43 +00:00
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
2019-07-18 12:57:16 +00:00
|
|
|
|
2019-03-22 21:34:01 +00:00
|
|
|
executable mateamt
|
2021-06-09 21:45:43 +00:00
|
|
|
main-is: Main.hs
|
|
|
|
-- Modules included in this executable, other than Main.
|
2019-09-07 00:48:05 +00:00
|
|
|
|
2021-06-09 21:45:43 +00:00
|
|
|
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:
|
2022-04-15 11:59:17 +00:00
|
|
|
base >=4.14.1.0
|
2021-06-09 21:45:43 +00:00
|
|
|
, mateamt
|
2022-04-15 11:59:17 +00:00
|
|
|
, text >=1.2.4.1
|
|
|
|
, time >=1.9.3
|
|
|
|
, mtl >=2.2.2
|
|
|
|
, containers >=0.6.2.1
|
|
|
|
, bytestring >=0.10.12.0
|
2021-06-09 21:45:43 +00:00
|
|
|
, base16-bytestring
|
2022-07-17 19:28:22 +00:00
|
|
|
, lens
|
2021-06-09 21:45:43 +00:00
|
|
|
, opaleye
|
2022-07-17 19:28:22 +00:00
|
|
|
, openapi3
|
2021-06-09 21:45:43 +00:00
|
|
|
, postgresql-simple
|
|
|
|
, postgresql-simple-migration
|
|
|
|
, stm
|
|
|
|
, network
|
|
|
|
, servant
|
|
|
|
, servant-server
|
2022-07-17 19:28:22 +00:00
|
|
|
, servant-rawm
|
|
|
|
, servant-openapi3
|
2022-07-18 04:34:46 +00:00
|
|
|
, servant-swagger-ui
|
|
|
|
, servant-swagger-ui-core
|
2021-06-09 21:45:43 +00:00
|
|
|
, warp
|
|
|
|
, wai
|
|
|
|
, wai-logger
|
2021-07-12 11:29:40 +00:00
|
|
|
, yaml
|
2021-06-09 21:45:43 +00:00
|
|
|
, optparse-applicative
|
|
|
|
, case-insensitive
|
|
|
|
, iproute
|
|
|
|
, clock
|
2022-07-18 04:34:46 +00:00
|
|
|
, tagged
|
2021-06-09 21:45:43 +00:00
|
|
|
|
|
|
|
hs-source-dirs: app
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
2021-02-01 01:25:52 +00:00
|
|
|
|
2022-09-16 13:56:16 +00:00
|
|
|
-- 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
|