191 lines
6.6 KiB
Plaintext
191 lines
6.6 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.3.2.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, ScopedTypeVariables, QuasiQuotes
|
|
ghc-options:
|
|
-threaded
|
|
-rtsopts
|
|
"-with-rtsopts=-N -I2"
|
|
default-language: Haskell2010
|
|
build-depends: aeson (>= 0.8 && < 0.10) || (>= 0.11 && < 0.12)
|
|
, base >= 4.8 && < 6
|
|
, bytestring
|
|
, bytestring-tree-builder == 0.2.7
|
|
, case-insensitive
|
|
, cassava
|
|
, containers
|
|
, contravariant
|
|
, errors
|
|
, hasql == 0.19.12
|
|
, hasql-pool == 0.4.1
|
|
, hasql-transaction == 0.4.5
|
|
, http-types
|
|
, interpolatedstring-perl6
|
|
, jwt
|
|
, microlens >= 0.4.2 && < 0.5
|
|
, microlens-aeson >= 2.1.1 && < 2.2
|
|
, mtl
|
|
, optparse-applicative >= 0.11 && < 0.13
|
|
, parsec
|
|
, postgresql-binary == 0.9.0.1
|
|
, postgrest
|
|
, regex-tdfa
|
|
, safe >= 0.3 && < 0.4
|
|
, scientific
|
|
, string-conversions
|
|
, text
|
|
, time
|
|
, transformers
|
|
, unordered-containers
|
|
, vector
|
|
, wai >= 3.0.1
|
|
, wai-cors
|
|
, wai-extra
|
|
, wai-middleware-static >= 0.6.0
|
|
, warp >= 3.1.0
|
|
, HTTP
|
|
, Ranged-sets
|
|
if !os(windows)
|
|
build-depends: unix >= 2.7 && < 3
|
|
|
|
hs-source-dirs: main
|
|
|
|
library
|
|
default-language: Haskell2010
|
|
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
|
build-depends: aeson
|
|
, base
|
|
, bytestring
|
|
, case-insensitive
|
|
, cassava
|
|
, containers
|
|
, contravariant
|
|
, errors
|
|
, hasql
|
|
, hasql-transaction
|
|
, hasql-pool
|
|
, http-types
|
|
, interpolatedstring-perl6
|
|
, jwt
|
|
, microlens
|
|
, microlens-aeson
|
|
, mtl
|
|
, optparse-applicative
|
|
, parsec
|
|
, regex-tdfa
|
|
, safe
|
|
, scientific
|
|
, string-conversions
|
|
, text
|
|
, time
|
|
, unordered-containers
|
|
, vector
|
|
, HTTP
|
|
, Ranged-sets
|
|
, wai >= 3.0.1
|
|
, wai-cors
|
|
, wai-extra
|
|
, wai-middleware-static >= 0.6.0
|
|
, warp >= 3.1.0
|
|
|
|
Other-Modules: Paths_postgrest
|
|
Exposed-Modules: PostgREST.App
|
|
, PostgREST.Auth
|
|
, PostgREST.Config
|
|
, PostgREST.Error
|
|
, PostgREST.Middleware
|
|
, PostgREST.Parsers
|
|
, PostgREST.DbStructure
|
|
, PostgREST.QueryBuilder
|
|
, PostgREST.RangeQuery
|
|
, PostgREST.ApiRequest
|
|
, PostgREST.Types
|
|
hs-source-dirs: src
|
|
|
|
Test-Suite spec
|
|
Type: exitcode-stdio-1.0
|
|
Default-Language: Haskell2010
|
|
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
Hs-Source-Dirs: test
|
|
Main-Is: Main.hs
|
|
Other-Modules: Feature.AuthSpec
|
|
, Feature.ConcurrentSpec
|
|
, Feature.CorsSpec
|
|
, Feature.DeleteSpec
|
|
, Feature.InsertSpec
|
|
, Feature.QuerySpec
|
|
, Feature.QueryLimitedSpec
|
|
, Feature.RangeSpec
|
|
, Feature.StructureSpec
|
|
, Feature.UnicodeSpec
|
|
, SpecHelper
|
|
, TestTypes
|
|
Build-Depends: aeson
|
|
, async
|
|
, base
|
|
, base64-string
|
|
, bytestring
|
|
, case-insensitive
|
|
, cassava
|
|
, containers
|
|
, contravariant
|
|
, errors
|
|
, hasql
|
|
, hasql-pool
|
|
, hasql-transaction
|
|
, heredoc
|
|
, hspec
|
|
, hspec-wai
|
|
, hspec-wai-json
|
|
, http-types
|
|
, interpolatedstring-perl6
|
|
, jwt
|
|
, microlens
|
|
, microlens-aeson
|
|
, monad-control
|
|
, mtl
|
|
, optparse-applicative
|
|
, parsec
|
|
, postgrest
|
|
, process
|
|
, regex-tdfa
|
|
, safe
|
|
, scientific
|
|
, string-conversions
|
|
, text
|
|
, time
|
|
, transformers
|
|
, transformers-base
|
|
, unordered-containers
|
|
, vector
|
|
, wai
|
|
, wai-cors
|
|
, wai-extra
|
|
, wai-middleware-static
|
|
, warp
|
|
, HTTP
|
|
, Ranged-sets
|