2018-08-29 22:43:44 +03:00
|
|
|
-- Initial backend.cabal generated by cabal init. For further
|
|
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
name: backend
|
2018-08-02 21:39:08 +03:00
|
|
|
version: 0.1.0.0
|
|
|
|
-- synopsis:
|
|
|
|
-- description:
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Mats Rauhala
|
|
|
|
maintainer: mats.rauhala@iki.fi
|
|
|
|
-- copyright:
|
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files: ChangeLog.md
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2018-08-29 22:43:44 +03:00
|
|
|
executable backend
|
2018-08-02 21:39:08 +03:00
|
|
|
main-is: Main.hs
|
|
|
|
other-modules: Devel.Main
|
2018-08-02 22:11:11 +03:00
|
|
|
, API
|
2018-08-05 23:49:39 +03:00
|
|
|
, API.Books
|
2018-08-14 00:03:52 +03:00
|
|
|
, API.Catalogue
|
2018-08-05 23:13:49 +03:00
|
|
|
, API.Channels
|
2018-08-03 23:36:38 +03:00
|
|
|
, API.Users
|
2018-12-20 00:29:25 +02:00
|
|
|
, Configuration
|
2018-08-02 23:59:08 +03:00
|
|
|
, Database
|
2018-08-05 23:49:39 +03:00
|
|
|
, Database.Book
|
2018-08-05 23:13:49 +03:00
|
|
|
, Database.Channel
|
2018-08-14 22:19:55 +03:00
|
|
|
, Database.Tag
|
2018-08-02 23:59:08 +03:00
|
|
|
, Database.Schema
|
2018-08-03 23:36:38 +03:00
|
|
|
, Database.User
|
2018-08-08 23:56:16 +03:00
|
|
|
, Datastore
|
2018-08-14 00:03:52 +03:00
|
|
|
, Servant.XML
|
2018-08-02 23:07:05 +03:00
|
|
|
, Server
|
2018-08-04 23:53:40 +03:00
|
|
|
, Server.Auth
|
2018-08-02 22:32:23 +03:00
|
|
|
, Types
|
2018-08-05 00:14:30 +03:00
|
|
|
, View
|
2018-08-02 21:39:08 +03:00
|
|
|
-- other-extensions:
|
2018-10-17 23:51:30 +03:00
|
|
|
build-depends: base >=4.10
|
|
|
|
, exceptions
|
|
|
|
, monad-control
|
2018-08-29 22:43:44 +03:00
|
|
|
, common
|
2018-08-05 23:49:39 +03:00
|
|
|
, aeson
|
2018-08-02 21:39:08 +03:00
|
|
|
, asn1-data
|
|
|
|
, asn1-types
|
|
|
|
, bytestring
|
2018-08-05 23:49:39 +03:00
|
|
|
, classy-prelude
|
|
|
|
, cryptonite
|
2018-08-02 21:39:08 +03:00
|
|
|
, dhall
|
2018-08-08 23:56:16 +03:00
|
|
|
, directory
|
2018-08-05 23:49:39 +03:00
|
|
|
, foreign-store
|
2018-08-02 23:07:05 +03:00
|
|
|
, generic-lens
|
2018-08-05 23:49:39 +03:00
|
|
|
, http-api-data
|
2018-08-14 00:03:52 +03:00
|
|
|
, http-media
|
2018-08-05 23:49:39 +03:00
|
|
|
, jose
|
|
|
|
, lens
|
|
|
|
, lucid
|
2018-08-08 23:56:16 +03:00
|
|
|
, memory
|
2018-08-05 23:49:39 +03:00
|
|
|
, monad-logger
|
|
|
|
, mtl
|
|
|
|
, pandoc
|
|
|
|
, pandoc-types
|
|
|
|
, pem
|
|
|
|
, process
|
2018-08-02 23:33:47 +03:00
|
|
|
, resource-pool
|
|
|
|
, selda
|
|
|
|
, selda-postgresql
|
2018-08-05 23:49:39 +03:00
|
|
|
, servant
|
2018-08-04 23:43:26 +03:00
|
|
|
, servant-auth
|
|
|
|
, servant-auth-server
|
2018-11-12 21:32:42 +02:00
|
|
|
, servant-auth-docs
|
2018-08-05 23:49:39 +03:00
|
|
|
, servant-docs
|
|
|
|
, servant-lucid
|
|
|
|
, servant-multipart
|
2018-08-08 23:56:16 +03:00
|
|
|
, servant-server
|
2018-08-05 23:49:39 +03:00
|
|
|
, text
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
, x509
|
|
|
|
, x509-store
|
2018-08-14 00:03:52 +03:00
|
|
|
, xml-conduit
|
|
|
|
, xml-hamlet
|
2018-08-02 21:39:08 +03:00
|
|
|
hs-source-dirs: src
|
2018-08-29 22:43:44 +03:00
|
|
|
default-language: Haskell2010
|
2018-08-03 23:36:38 +03:00
|
|
|
default-extensions: DeriveGeneric
|
|
|
|
, NoImplicitPrelude
|
|
|
|
, OverloadedStrings
|
|
|
|
, RecordWildCards
|
2018-10-26 23:47:14 +03:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs: src
|
|
|
|
build-depends: base >=4.10
|
2018-10-26 23:59:06 +03:00
|
|
|
, aeson
|
|
|
|
, asn1-data
|
|
|
|
, asn1-types
|
|
|
|
, bytestring
|
2018-10-26 23:47:14 +03:00
|
|
|
, classy-prelude
|
2019-01-21 21:31:13 +02:00
|
|
|
, common
|
2018-10-26 23:59:06 +03:00
|
|
|
, cryptonite
|
|
|
|
, dhall
|
|
|
|
, directory
|
2019-01-21 21:31:13 +02:00
|
|
|
, exceptions
|
2018-10-26 23:59:06 +03:00
|
|
|
, foreign-store
|
|
|
|
, generic-lens
|
2019-01-21 21:31:13 +02:00
|
|
|
, genvalidity-hspec
|
|
|
|
, genvalidity-hspec-aeson
|
|
|
|
, genvalidity-property
|
|
|
|
, genvalidity-text
|
|
|
|
, hspec
|
2018-10-26 23:47:14 +03:00
|
|
|
, http-api-data
|
2018-10-26 23:59:06 +03:00
|
|
|
, http-media
|
|
|
|
, jose
|
|
|
|
, lens
|
|
|
|
, lucid
|
|
|
|
, memory
|
2019-01-21 21:31:13 +02:00
|
|
|
, monad-control
|
2018-10-26 23:59:06 +03:00
|
|
|
, monad-logger
|
|
|
|
, mtl
|
|
|
|
, pandoc
|
|
|
|
, pandoc-types
|
|
|
|
, pem
|
|
|
|
, process
|
|
|
|
, resource-pool
|
2018-10-26 23:47:14 +03:00
|
|
|
, selda
|
|
|
|
, selda-postgresql
|
2018-10-26 23:59:06 +03:00
|
|
|
, servant
|
|
|
|
, servant-auth
|
2019-01-21 21:31:13 +02:00
|
|
|
, servant-auth-docs
|
2018-10-26 23:59:06 +03:00
|
|
|
, servant-auth-server
|
|
|
|
, servant-docs
|
|
|
|
, servant-lucid
|
|
|
|
, servant-multipart
|
|
|
|
, servant-server
|
2018-10-26 23:47:14 +03:00
|
|
|
, text
|
2018-10-26 23:59:06 +03:00
|
|
|
, transformers
|
2019-01-21 21:31:13 +02:00
|
|
|
, validity
|
2018-10-26 23:59:06 +03:00
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
, x509
|
|
|
|
, x509-store
|
|
|
|
, xml-conduit
|
|
|
|
, xml-hamlet
|
|
|
|
default-extensions: DeriveGeneric
|
|
|
|
, NoImplicitPrelude
|
|
|
|
, OverloadedStrings
|
2018-12-20 00:29:25 +02:00
|
|
|
, RecordWildCards
|