160 lines
5.4 KiB
Plaintext
160 lines
5.4 KiB
Plaintext
name: postgrest
|
|
description: Reads the schema of a PostgreSQL database and creates RESTful routes
|
|
for the tables and views, supporting all HTTP verbs that security
|
|
permits.
|
|
version: 0.4.0.0
|
|
synopsis: REST API for any Postgres database
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: Joe Nelson, Adam Baker
|
|
homepage: https://github.com/begriffs/postgrest
|
|
maintainer: cred+github@begriffs.com
|
|
category: Web
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
source-repository head
|
|
type: git
|
|
location: git://github.com/begriffs/postgrest.git
|
|
|
|
Flag CI
|
|
Description: No warnings allowed in continuous integration
|
|
Manual: True
|
|
Default: False
|
|
|
|
executable postgrest
|
|
main-is: Main.hs
|
|
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
|
|
ghc-options:
|
|
-threaded
|
|
-rtsopts
|
|
"-with-rtsopts=-N -I2"
|
|
default-language: Haskell2010
|
|
build-depends: auto-update
|
|
, base
|
|
, hasql
|
|
, hasql-pool
|
|
, postgrest
|
|
, protolude
|
|
, text
|
|
, time
|
|
, warp
|
|
, bytestring
|
|
, base64-bytestring
|
|
if !os(windows)
|
|
build-depends: unix
|
|
|
|
hs-source-dirs: main
|
|
|
|
library
|
|
default-language: Haskell2010
|
|
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
|
|
build-depends: aeson
|
|
, ansi-wl-pprint
|
|
, base >= 4.8 && < 6
|
|
, bytestring
|
|
, case-insensitive
|
|
, cassava
|
|
, configurator
|
|
, containers
|
|
, contravariant
|
|
, either
|
|
, hasql
|
|
, hasql-pool == 0.4.1
|
|
, hasql-transaction == 0.5
|
|
, heredoc
|
|
, HTTP
|
|
, http-types
|
|
, insert-ordered-containers
|
|
, interpolatedstring-perl6
|
|
, jwt
|
|
, lens
|
|
, lens-aeson
|
|
, network-uri
|
|
, optparse-applicative >= 0.13 && < 0.14
|
|
, parsec
|
|
, protolude
|
|
, Ranged-sets == 0.3.0
|
|
, regex-tdfa
|
|
, safe
|
|
, scientific
|
|
, swagger2
|
|
, text
|
|
, time
|
|
, unordered-containers
|
|
, vector
|
|
, wai
|
|
, wai-cors
|
|
, wai-extra
|
|
, wai-middleware-static
|
|
|
|
Other-Modules: Paths_postgrest
|
|
Exposed-Modules: PostgREST.ApiRequest
|
|
, PostgREST.App
|
|
, PostgREST.Auth
|
|
, PostgREST.Config
|
|
, PostgREST.DbStructure
|
|
, PostgREST.DbRequestBuilder
|
|
, PostgREST.Error
|
|
, PostgREST.Middleware
|
|
, PostgREST.OpenAPI
|
|
, PostgREST.Parsers
|
|
, PostgREST.QueryBuilder
|
|
, PostgREST.RangeQuery
|
|
, PostgREST.Types
|
|
hs-source-dirs: src
|
|
|
|
Test-Suite spec
|
|
Type: exitcode-stdio-1.0
|
|
Default-Language: Haskell2010
|
|
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
Hs-Source-Dirs: test
|
|
Main-Is: Main.hs
|
|
Other-Modules: Feature.AuthSpec
|
|
, Feature.BinaryJwtSecretSpec
|
|
, Feature.ConcurrentSpec
|
|
, Feature.CorsSpec
|
|
, Feature.DeleteSpec
|
|
, Feature.InsertSpec
|
|
, Feature.NoJwtSpec
|
|
, Feature.ProxySpec
|
|
, Feature.QueryLimitedSpec
|
|
, Feature.QuerySpec
|
|
, Feature.RangeSpec
|
|
, Feature.SingularSpec
|
|
, Feature.StructureSpec
|
|
, Feature.UnicodeSpec
|
|
, SpecHelper
|
|
, TestTypes
|
|
Build-Depends: aeson
|
|
, aeson-qq
|
|
, async
|
|
, auto-update
|
|
, base
|
|
, bytestring
|
|
, base64-bytestring
|
|
, case-insensitive
|
|
, cassava
|
|
, containers
|
|
, contravariant
|
|
, hasql
|
|
, hasql-pool
|
|
, heredoc
|
|
, hjsonpointer
|
|
, hjsonschema
|
|
, hspec
|
|
, hspec-wai >= 0.7.0
|
|
, hspec-wai-json
|
|
, http-types
|
|
, lens
|
|
, lens-aeson
|
|
, monad-control
|
|
, postgrest
|
|
, process
|
|
, protolude
|
|
, regex-tdfa
|
|
, time
|
|
, transformers-base
|
|
, wai
|
|
, wai-extra
|